Skip to content

Commit

Permalink
Bump block stats when adding commitment tx into block (#2654)
Browse files Browse the repository at this point in the history
  • Loading branch information
UdjinM6 authored and codablock committed Jan 29, 2019
1 parent 25cb14b commit 2a4fbb6
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 @@ -173,6 +173,8 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
pblock->vtx.emplace_back(qcTx);
pblocktemplate->vTxFees.emplace_back(0);
pblocktemplate->vTxSigOps.emplace_back(0);
nBlockSize += qcTx->GetTotalSize();
++nBlockTx;
}
}
}
Expand Down

0 comments on commit 2a4fbb6

Please sign in to comment.