From 9f72c41af3300ea18252ff5dc94498e5b599a7c8 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 12 Sep 2018 08:51:23 -1100 Subject: [PATCH] Test --- src/cc/gateways.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/gateways.cpp b/src/cc/gateways.cpp index 7590e9cfc..f21ee7c03 100644 --- a/src/cc/gateways.cpp +++ b/src/cc/gateways.cpp @@ -767,9 +767,10 @@ std::string GatewaysMarkdone(uint64_t txfee,uint256 withdrawtxid) CMutableTransaction mtx; CScript opret; CPubKey mypk; struct CCcontract_info *cp,C; cp = CCinit(&C,EVAL_GATEWAYS); if ( txfee == 0 ) - txfee = 10000; + txfee = 5000; mypk = pubkey2pk(Mypubkey()); mtx.vin.push_back(CTxIn(withdrawtxid,2,CScript())); + mtx.vout.push_back(CTxOut(5000,CScript() << ParseHex(HexStr(mypk)) << OP_CHECKSIG)); return(FinalizeCCTx(0,cp,mtx,mypk,txfee,opret)); }