diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-27 10:59:31 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-10-27 11:12:14 +0000 |
commit | 8ff9e6bc3219692f3f24ca3b0d84daa94872bbc3 (patch) | |
tree | 6d00b5d58f680cc738ec7d50a8a3fa67c1f501fc /src/wallet/wallet_rpc_helpers.h | |
parent | Merge pull request #6033 (diff) | |
download | monero-8ff9e6bc3219692f3f24ca3b0d84daa94872bbc3.tar.xz |
wallet: do not warn if the rpc cost was free
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet_rpc_helpers.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_helpers.h b/src/wallet/wallet_rpc_helpers.h index 91803ff77..4291a112d 100644 --- a/src/wallet/wallet_rpc_helpers.h +++ b/src/wallet/wallet_rpc_helpers.h @@ -65,7 +65,7 @@ namespace tools rpc_payment_state.credits = post_call_credits; rpc_payment_state.expected_spent += expected_credits; - if (pre_call_credits < post_call_credits) + if (pre_call_credits <= post_call_credits) return; uint64_t cost = pre_call_credits - post_call_credits; |