This commit is contained in:
jl777
2016-10-21 16:08:37 -03:00
parent 420af8fda7
commit 63a9f52633
4 changed files with 14 additions and 9 deletions

View File

@@ -275,7 +275,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
if (!view.HaveInputs(tx))
continue;
CAmount nTxFees = view.GetValueIn(tx)-tx.GetValueOut();
CAmount nTxFees = view.GetValueIn(tx,pblock->nTime)-tx.GetValueOut();
nTxSigOps += GetP2SHSigOpCount(tx, view);
if (nBlockSigOps + nTxSigOps >= MAX_BLOCK_SIGOPS)