From 2b404a3d4aae115c9bac1afc9a4e22bcb11143b6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 10 Sep 2018 08:02:01 -1100 Subject: [PATCH] Test --- src/cc/CCassetsCore.cpp | 2 +- src/cc/gateways.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/CCassetsCore.cpp b/src/cc/CCassetsCore.cpp index a9361ede4..55a4ccdcb 100644 --- a/src/cc/CCassetsCore.cpp +++ b/src/cc/CCassetsCore.cpp @@ -354,7 +354,7 @@ int64_t IsAssetvout(int64_t &price,std::vector &origpubkey,const CTrans return(0); if ( (funcid= DecodeAssetOpRet(tx.vout[n-1].scriptPubKey,assetid,assetid2,price,origpubkey)) == 0 ) { - fprintf(stderr,"null decodeopret\n"); + fprintf(stderr,"null decodeopret v.%d\n",v); return(0); } else if ( funcid == 'c' ) diff --git a/src/cc/gateways.cpp b/src/cc/gateways.cpp index 66c71fb4e..b22360642 100644 --- a/src/cc/gateways.cpp +++ b/src/cc/gateways.cpp @@ -591,6 +591,7 @@ std::string GatewaysClaim(uint64_t txfee,uint256 bindtxid,std::string refcoin,ui mtx.vout.push_back(MakeCC1vout(EVAL_ASSETS,amount,mypk)); if ( CCchange != 0 ) mtx.vout.push_back(MakeCC1vout(EVAL_ASSETS,CCchange,gatewayspk)); + fprintf(stderr,"finalize CCtx\n"); return(FinalizeCCTx(0,cp,mtx,mypk,txfee,EncodeAssetOpRet('t',assetid,zeroid,0,Mypubkey()))); } }