Bump block stats when adding commitment tx into block (#2654)
This commit is contained in:
parent
070ad103ff
commit
592210dafc
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user