This commit is contained in:
jl777
2016-10-21 16:56:27 -03:00
parent f0eb47af80
commit 75b751ec17
2 changed files with 2 additions and 2 deletions

View File

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