Skip to content

Commit

Permalink
Include transactions in the blocks we stake.
Browse files Browse the repository at this point in the history
  • Loading branch information
dooglus committed Oct 19, 2018
1 parent 1dbbf56 commit 717cef3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
// transaction (which in most cases can be a no-op).
fIncludeWitness = IsWitnessEnabled(pindexPrev, chainparams.GetConsensus());

addPackageTxs();

nLastBlockTx = nBlockTx;
nLastBlockSize = nBlockSize;
nLastBlockWeight = nBlockWeight;
Expand Down

0 comments on commit 717cef3

Please sign in to comment.