aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-10-28 00:46:50 -0400
committerluigi1111 <luigi1111w@gmail.com>2022-10-28 00:46:50 -0400
commit2ab0732d1a58569d02f96907c9a079d70ea734d0 (patch)
tree724fcb8e48788c36fc3e64a2225bb275347b7a7b /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #8517 (diff)
parentWallet RPC: remove duplicate line (diff)
downloadmonero-2ab0732d1a58569d02f96907c9a079d70ea734d0.tar.xz
Merge pull request #8525
501db2c Wallet RPC: remove duplicate line (SerHack)
Diffstat (limited to 'src/wallet/wallet_rpc_server.cpp')
-rw-r--r--src/wallet/wallet_rpc_server.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp
index 0f3ef928a..ec9b09774 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -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;