Bump block stats when adding commitment tx into block (#2654)

This commit is contained in:
UdjinM6 2019-01-29 17:54:57 +03:00 committed by Alexander Block
parent 25cb14b615
commit 2a4fbb6e48

View File

@ -173,6 +173,8 @@ std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& sc
pblock->vtx.emplace_back(qcTx); pblock->vtx.emplace_back(qcTx);
pblocktemplate->vTxFees.emplace_back(0); pblocktemplate->vTxFees.emplace_back(0);
pblocktemplate->vTxSigOps.emplace_back(0); pblocktemplate->vTxSigOps.emplace_back(0);
nBlockSize += qcTx->GetTotalSize();
++nBlockTx;
} }
} }
} }