From 33d124c1d6da8428db3ff968a92666d1aaab9500 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 27 Jul 2018 01:42:44 -1100 Subject: [PATCH] Test --- src/cc/CCassetstx.cpp | 2 +- src/cc/CCinclude.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index 4f3682855..fe3d42eb9 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -83,7 +83,7 @@ UniValue AssetInfo(uint256 assetid) UniValue AssetList() { - UniValue result(UniValue::VARR); std::vector > addressIndex; struct CCcontract_info *cp,C; uint256 txid; CTransaction vintx; std::vector origpubkey; std::string name,description; char str[65]; + UniValue result(UniValue::VARR); std::vector > addressIndex; struct CCcontract_info *cp,C; uint256 txid,hashBlock; CTransaction vintx; std::vector origpubkey; std::string name,description; char str[65]; cp = CCinit(&C,EVAL_ASSETS); SetCCtxids(addressIndex,cp->normaladdr); for (std::vector >::const_iterator it=unspentOutputs.begin(); it!=unspentOutputs.end(); it++) diff --git a/src/cc/CCinclude.h b/src/cc/CCinclude.h index c0bd56c64..fe1ba7a6c 100644 --- a/src/cc/CCinclude.h +++ b/src/cc/CCinclude.h @@ -33,7 +33,7 @@ struct CCcontract_info { uint256 prevtxid; - char unspendableCCaddr[64],CChexstr[72]; + char unspendableCCaddr[64],CChexstr[72],normaladdr[64]; uint8_t CCpriv[32]; bool (*validate)(struct CCcontract_info *cp,Eval* eval,const CTransaction &tx); bool (*ismyvin)(CScript const& scriptSig);