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;