From fc6f0a996067b40ce26e16f24423f31052ade02c Mon Sep 17 00:00:00 2001 From: Aiwe Date: Sat, 1 Jan 2022 14:52:25 +0200 Subject: [PATCH] Log more info about found block --- src/Miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Miner.cpp b/src/Miner.cpp index 2200d3385..9fcc8f1cf 100644 --- a/src/Miner.cpp +++ b/src/Miner.cpp @@ -386,7 +386,7 @@ namespace WalletGui } uint32_t bh = boost::get(b.baseTransaction.inputs[0]).blockIndex; - m_logger(Logging::INFO) << "Found block for difficulty: " << local_diff; + m_logger(Logging::INFO) << "Found block " << Common::podToHex(id) << " at height " << bh << " for difficulty: " << local_diff << ", POW " << Common::podToHex(pow); Q_EMIT minerMessageSignal(QString("Found block %1 at height %2 for difficulty %3, POW %4").arg(QString::fromStdString(Common::podToHex(id))).arg(bh).arg(local_diff).arg(QString::fromStdString(Common::podToHex(pow)))); if(!NodeAdapter::instance().handleBlockFound(b)) {