aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet_rpc_server.cpp
diff options
context:
space:
mode:
authorSerHack <27734319+serhack@users.noreply.github.com>2022-08-21 10:52:33 +0200
committerGitHub <noreply@github.com>2022-08-21 10:52:33 +0200
commit501db2cedbfe2c65f36185bb01226b966920b517 (patch)
treed171187c1e8dcca0e76955e1328b9fd9dea8af23 /src/wallet/wallet_rpc_server.cpp
parentMerge pull request #8435 (diff)
downloadmonero-501db2cedbfe2c65f36185bb01226b966920b517.tar.xz
Wallet RPC: remove duplicate line
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 7ec5fc7a1..43f636136 100644
--- a/src/wallet/wallet_rpc_server.cpp
+++ b/src/wallet/wallet_rpc_server.cpp
@@ -397,7 +397,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;