mirror of
https://github.com/monero-project/monero.git
synced 2024-12-24 04:29:43 +00:00
blockchain: fix log message about per-kB fee
This commit is contained in:
parent
a69c713f8e
commit
524cbdc1e2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue