mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-30 06:43:28 +01:00
Merge pull request #3414
524cbdc1
blockchain: fix log message about per-kB fee (stoffu)
This commit is contained in:
commit
432480fa42
@ -2982,7 +2982,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