This commit is contained in:
jl777
2018-04-09 14:42:07 +03:00
parent d15f9225f7
commit 4c62ef37b4
2 changed files with 97 additions and 93 deletions

View File

@@ -405,7 +405,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
txStaked.vout[0].scriptPubKey = CScript() << ParseHex(NOTARY_PUBKEY) << OP_CHECKSIG;
txStaked.vout[0].nValue = utxovalue - txfees;
fprintf(stderr,"utxovout.%d txtime.%u %.8f\n",utxovout,txtime,(double)utxovalue/COIN);
txStaked.nLockTime = chainActive.Tip()->nTime + chainparams.GetConsensus().nPowTargetSpacing;
txStaked.nLockTime = chainActive.Tip()->nTime + 60;
pblock->vtx.push_back(txStaked);
numsigs = GetLegacySigOpCount(txStaked);