Wallet RPC: remove duplicate line
This commit is contained in:
parent
b6a029f222
commit
501db2cedb
@ -397,7 +397,6 @@ namespace tools
|
|||||||
bool is_failed = pd.m_state == tools::wallet2::unconfirmed_transfer_details::failed;
|
bool is_failed = pd.m_state == tools::wallet2::unconfirmed_transfer_details::failed;
|
||||||
entry.txid = string_tools::pod_to_hex(txid);
|
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);
|
||||||
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)
|
if (entry.payment_id.substr(16).find_first_not_of('0') == std::string::npos)
|
||||||
entry.payment_id = entry.payment_id.substr(0,16);
|
entry.payment_id = entry.payment_id.substr(0,16);
|
||||||
entry.height = 0;
|
entry.height = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user