Skip to content

Commit

Permalink
Merge pull request #60 from BlockMechanic/segwit
Browse files Browse the repository at this point in the history
Update miner.cpp
  • Loading branch information
BlockMechanic authored Apr 19, 2022
2 parents 3ed0e47 + 6861953 commit 26c9e6b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ std::unique_ptr<CBlockTemplate> 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;
Expand Down

0 comments on commit 26c9e6b

Please sign in to comment.