This commit is contained in:
jl777
2016-10-22 13:48:08 -03:00
parent 92e15ee337
commit ee9b44ce66

View File

@@ -342,6 +342,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn)
txNew.vout[1].scriptPubKey.resize(opretlen);
memcpy(txNew.vout[1].scriptPubKey.data(),opret,opretlen);
txNew.vout[1].nValue = 0;
fprintf(stderr,"opretlen.%d\n",opretlen);
} else txNew.vout.resize(1);
txNew.vout[0].scriptPubKey = scriptPubKeyIn;
txNew.vout[0].nValue = GetBlockSubsidy(nHeight, chainparams.GetConsensus());