Merge pull request #3414

524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
This commit is contained in:
Riccardo Spagni 2018-03-16 18:09:34 +02:00
commit 432480fa42
No known key found for this signature in database
GPG Key ID: 55432DF31CCD4FCD

View File

@ -2982,7 +2982,7 @@ bool Blockchain::check_fee(size_t blob_size, uint64_t fee) const
return false;
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;
needed_fee += (blob_size % 1024) ? 1 : 0;