From 79f63e2a86633f337b57d28a578803279680adf9 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 29 Dec 2018 03:45:00 -1100 Subject: [PATCH] Test --- src/rpc/crosschain.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/rpc/crosschain.cpp b/src/rpc/crosschain.cpp index 153ce6a8d..7f7f43452 100644 --- a/src/rpc/crosschain.cpp +++ b/src/rpc/crosschain.cpp @@ -281,11 +281,9 @@ UniValue selfimport(const UniValue& params, bool fHelp) if ( GetTransaction(txid,burnTx,blockHash,false) == 0 ) throw runtime_error("selfimport couldnt find txid"); - burnOut = MakeBurnOutput(burnAmount,0xffffffff,ASSETCHAINS_SELFIMPORT,burnTx.vout); savevout = burnTx.vout[0]; mtx = burnTx; - mtx.vout.clear(); - mtx.vout.push_back(burnOut); + mtx.vin.clear(); burnTx = mtx; if ( GetSelfimportProof(proof,burnTx,txid) < 0 ) throw std::runtime_error("Failed validating selfimport");