From 521ffa7904adaa9f18675a533ecd00ccc6e507ea Mon Sep 17 00:00:00 2001 From: cryptozoidberg Date: Thu, 8 Aug 2019 17:51:30 +0200 Subject: [PATCH] changed var to print --- src/currency_core/blockchain_storage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/currency_core/blockchain_storage.cpp b/src/currency_core/blockchain_storage.cpp index a3c161a3..a5a6bdb2 100644 --- a/src/currency_core/blockchain_storage.cpp +++ b/src/currency_core/blockchain_storage.cpp @@ -2694,13 +2694,13 @@ void blockchain_storage::print_last_n_difficulty_numbers(uint64_t n) const ss << "PoS blocks difficulty:" << ENDL; for (auto& bl_ptr : pos_blocks) { - ss << bl_ptr->cumulative_diff_precise << ENDL; + ss << bl_ptr->difficulty << ENDL; } ss << "PoW blocks difficulty:" << ENDL; for (auto& bl_ptr : pow_blocks) { - ss << bl_ptr->cumulative_diff_precise << ENDL; + ss << bl_ptr->difficulty << ENDL; } LOG_PRINT_L0("LAST BLOCKS:" << ss.str()); }