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 070ad103ff
commit 592210dafc

View File

@ -159,6 +159,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;
} }
} }
} }