From 44fe6ada85397f9cdbcc5919072fe4506024ec02 Mon Sep 17 00:00:00 2001 From: "crypro.zoidberg" Date: Sun, 14 Apr 2019 20:23:49 +0200 Subject: [PATCH] added nonce messge --- src/currency_core/blockchain_storage.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/currency_core/blockchain_storage.cpp b/src/currency_core/blockchain_storage.cpp index a24d6b47..3dcd502e 100644 --- a/src/currency_core/blockchain_storage.cpp +++ b/src/currency_core/blockchain_storage.cpp @@ -4295,8 +4295,9 @@ bool blockchain_storage::handle_block_to_main_chain(const block& bl, const crypt if (!check_hash(proof_hash, current_diffic)) { LOG_ERROR("Block with id: " << id << ENDL - << "PoW hash: " << proof_hash << ENDL - << "unexpected difficulty: " << current_diffic); + << "PoW hash: " << proof_hash << ENDL + << "nonce: " << bl.nonce << ENDL + << "expected difficulty: " << current_diffic); bvc.m_verification_failed = true; return false; }