This commit is contained in:
jl777
2018-11-16 20:38:09 -11:00
parent 2c85dd261a
commit be0d30ee9a

View File

@@ -444,7 +444,7 @@ CBlockTemplate* CreateNewBlock(const CScript& scriptPubKeyIn,int32_t gpucount)
txNew.vout.resize(2);
txNew.vout[1].nValue = commission;
if ( ASSETCHAINS_SCRIPTPUB.size() > 1 )
txNew.vout[1].scriptPubKey = ParseHex(ASSETCHAINS_SCRIPTPUB.c_str()); //CScript() <<
txNew.vout[1].scriptPubKey = CScript() << ParseHex(ASSETCHAINS_SCRIPTPUB.c_str());
else
{
txNew.vout[1].scriptPubKey.resize(35);