Wallet RPC: remove duplicate line

This commit is contained in:
SerHack 2022-08-21 10:52:33 +02:00 committed by wowario
parent 64d851c1e8
commit c8cc1e286d
No known key found for this signature in database
GPG key ID: 24DCBE762DE9C111

View file

@ -385,7 +385,6 @@ namespace tools
bool is_failed = pd.m_state == tools::wallet2::unconfirmed_transfer_details::failed;
entry.txid = string_tools::pod_to_hex(txid);
entry.payment_id = string_tools::pod_to_hex(pd.m_payment_id);
entry.payment_id = string_tools::pod_to_hex(pd.m_payment_id);
if (entry.payment_id.substr(16).find_first_not_of('0') == std::string::npos)
entry.payment_id = entry.payment_id.substr(0,16);
entry.height = 0;