Merge pull request #8525

501db2c Wallet RPC: remove duplicate line (SerHack)
This commit is contained in:
luigi1111 2022-10-28 00:46:50 -04:00
commit 2ab0732d1a
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -404,7 +404,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;