mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +00:00
wallet: do not warn if the rpc cost was free
This commit is contained in:
parent
b928ead30e
commit
e8964c26cc
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ namespace tools
|
||||||
rpc_payment_state.credits = post_call_credits;
|
rpc_payment_state.credits = post_call_credits;
|
||||||
rpc_payment_state.expected_spent += expected_credits;
|
rpc_payment_state.expected_spent += expected_credits;
|
||||||
|
|
||||||
if (pre_call_credits < post_call_credits)
|
if (pre_call_credits <= post_call_credits)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
uint64_t cost = pre_call_credits - post_call_credits;
|
uint64_t cost = pre_call_credits - post_call_credits;
|
||||||
|
|
Loading…
Reference in a new issue