diff options
author | luigi1111 <luigi1111w@gmail.com> | 2019-10-27 16:27:31 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-27 16:27:31 -0500 |
commit | f9ddda75a25e71d6df6de918608ddb6f53a4dc4f (patch) | |
tree | 62f0de89967ca3cd7e681a3d9757709df052332f /src | |
parent | Merge pull request #6036 (diff) | |
parent | wallet: do not warn if the rpc cost was free (diff) | |
download | monero-f9ddda75a25e71d6df6de918608ddb6f53a4dc4f.tar.xz |
Merge pull request #6038
e8964c2 wallet: do not warn if the rpc cost was free (moneromooo-monero)
Diffstat (limited to 'src')
-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; |