From 6861953e6d903584daf567e5fe68af7035d03e9b Mon Sep 17 00:00:00 2001 From: Block Mechanic Date: Tue, 19 Apr 2022 13:40:49 +0200 Subject: [PATCH] Update miner.cpp --- src/miner.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/miner.cpp b/src/miner.cpp index 518c50b..8f31368 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -283,8 +283,9 @@ std::unique_ptr BlockAssembler::CreateNewBlock(const CScript& sc pblock->vtx[1] = MakeTransactionRef(std::move(txCoinStake)); } LogPrintf("%s: %d\n",__func__, pblock->vtx.size()); - - LogPrintf("%s: %s\n",__func__, pblock->ToString()); + + for (auto a: pblock->vtx) + LogPrintf("%s: %s\n",__func__, a->ToString()); pblocktemplate->vchCoinbaseCommitment = GenerateCoinbaseCommitment(*pblock, pindexPrev, chainparams.GetConsensus()); pblocktemplate->vTxFees[0] = -nFees;