From bf1da1e4951137da7312401b9936ade92f25bd7f Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 20 Jul 2018 00:49:33 -1100 Subject: [PATCH] Test --- src/cc/assets.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cc/assets.cpp b/src/cc/assets.cpp index 561e9b669..d2126475e 100644 --- a/src/cc/assets.cpp +++ b/src/cc/assets.cpp @@ -258,7 +258,8 @@ CMutableTransaction CreateAsset(CPubKey pk,uint64_t assetsupply,uint256 utxotxid if ( ProduceSignature(TransactionSignatureCreator(&keystore,&txNewConst,0,nValue,SIGHASH_ALL),vintx.vout[utxovout].scriptPubKey,sigdata,consensusBranchId) != 0 ) { UpdateTransaction(mtx,0,sigdata); - fprintf(stderr,"signed CreateAsset (%s -> %s)\n",name.c_str(),description.c_str()); + string strHex = EncodeHexTx(mtx); + fprintf(stderr,"signed CreateAsset (%s -> %s) %s\n",name.c_str(),description.c_str(),strHex.ToStrin().c_str()); } else fprintf(stderr,"signing error for CreateAsset\n"); } #endif