From f881f4dc684807dced341bf09a82a1af6086e70c Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 01:04:27 -1100 Subject: [PATCH] Error message --- src/cc/CCassetstx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index c52864218..de96728a5 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -249,10 +249,10 @@ std::string FillBuyOffer(uint64_t txfee,uint256 assetid,uint256 bidtxid,uint64_t mtx.vout.push_back(MakeCC1vout(EVAL_ASSETS,CCchange,mypk)); fprintf(stderr,"remaining %llu -> origpubkey\n",(long long)remaining_required); return(FinalizeCCTx(cp,mtx,mypk,txfee,EncodeAssetOpRet('B',assetid,zeroid,remaining_required,origpubkey))); - } else fprintf(stderr,"filltx wasnt for assetid\n"); + } else return("dont have any assets to fill bid\n"); } } - return(0); + return("no normal coins left"); } std::string FillSell(uint64_t txfee,uint256 assetid,uint256 assetid2,uint256 asktxid,uint64_t fillamount)