unburn Notary vin txfee

This commit is contained in:
jl777
2018-05-30 03:25:26 -11:00
parent 528f340601
commit 2d79309f33

View File

@@ -479,11 +479,13 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
pblock->nTime = pindexPrev->nTime + 65;
if ( komodo_notaryvin(txNotary,NOTARY_PUBKEY33) > 0 )
{
CAmount txfees = 0;
CAmount txfees = 5000;
pblock->vtx.push_back(txNotary);
pblocktemplate->vTxFees.push_back(txfees);
pblocktemplate->vTxSigOps.push_back(GetLegacySigOpCount(txNotary));
nFees += txfees;
pblocktemplate->vTxFees[0] = -nFees;
pblock->vtx[0].vout[0].nValue += txfees;
//fprintf(stderr,"added notaryvin\n");
}
else