From 2c85dd261a81e804682551b99bc774b76bac36c9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 16 Nov 2018 20:36:46 -1100 Subject: [PATCH] Fix -ac_script --- src/miner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miner.cpp b/src/miner.cpp index a8c6e087c..d3fbf3285 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -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 = CScript() << ParseHex(ASSETCHAINS_SCRIPTPUB); + txNew.vout[1].scriptPubKey = ParseHex(ASSETCHAINS_SCRIPTPUB.c_str()); //CScript() << else { txNew.vout[1].scriptPubKey.resize(35);