Skip to content

Commit

Permalink
Log more info about found block
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Jan 1, 2022
1 parent 4ae5ed6 commit fc6f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ namespace WalletGui
}
uint32_t bh = boost::get<BaseInput>(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)) {
Expand Down

0 comments on commit fc6f0a9

Please sign in to comment.