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