mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07:00
blockchain: fix log message about per-kB fee
This commit is contained in:
parent
a69c713f8e
commit
524cbdc1e2
@ -2962,7 +2962,7 @@ bool Blockchain::check_fee(size_t blob_size, uint64_t fee) const
|
|||||||
return false;
|
return false;
|
||||||
fee_per_kb = get_dynamic_per_kb_fee(base_reward, median, version);
|
fee_per_kb = get_dynamic_per_kb_fee(base_reward, median, version);
|
||||||
}
|
}
|
||||||
MDEBUG("Using " << print_money(fee) << "/kB fee");
|
MDEBUG("Using " << print_money(fee_per_kb) << "/kB fee");
|
||||||
|
|
||||||
uint64_t needed_fee = blob_size / 1024;
|
uint64_t needed_fee = blob_size / 1024;
|
||||||
needed_fee += (blob_size % 1024) ? 1 : 0;
|
needed_fee += (blob_size % 1024) ? 1 : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user