aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-03-16 18:09:34 +0200
committerRiccardo Spagni <ric@spagni.net>2018-03-16 18:09:34 +0200
commit432480fa42745499fab576dc33f2fc2339b772f3 (patch)
tree6a90a978d7e7a24a6ff99a89f41ff5aeef449a4f /src/cryptonote_core
parentMerge pull request #3376 (diff)
parentblockchain: fix log message about per-kB fee (diff)
downloadmonero-432480fa42745499fab576dc33f2fc2339b772f3.tar.xz
Merge pull request #3414
524cbdc1 blockchain: fix log message about per-kB fee (stoffu)
Diffstat (limited to 'src/cryptonote_core')
-rw-r--r--src/cryptonote_core/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/blockchain.cpp b/src/cryptonote_core/blockchain.cpp
index 846004d77..bc3575aa1 100644
--- a/src/cryptonote_core/blockchain.cpp
+++ b/src/cryptonote_core/blockchain.cpp
@@ -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;