mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
wallet: do not warn if the rpc cost was free
This commit is contained in:
parent
3b0a43a8d4
commit
8ff9e6bc32
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user