diff --git a/src/cc/prices.cpp b/src/cc/prices.cpp index f458ab4cc..ca945d02f 100644 --- a/src/cc/prices.cpp +++ b/src/cc/prices.cpp @@ -401,7 +401,8 @@ std::string PricesBet(uint64_t txfee,uint256 refbettoken,uint256 fundingtxid,int mtx.vout.push_back(MakeCC1vout(assetscp->evalcode,CCchange2,mypk)); // add addr2 and addr3 //return(FinalizeCCTx(0,assetscp,mtx,mypk,txfee,EncodePricesExtra('T',tokenid,bettoken,zeroid,dir*leverage))); - return(FinalizeCCTx(0,assetscp,mtx,mypk,txfee,CScript opret)); + CScript opret; + return(FinalizeCCTx(0,assetscp,mtx,mypk,txfee,opret)); } else {