From e4276c3aa1708d03fa8e9be774f63d921b4bc474 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 25 Jul 2018 05:11:56 -1100 Subject: [PATCH] Fix --- src/cc/CCassetstx.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cc/CCassetstx.cpp b/src/cc/CCassetstx.cpp index 051459f14..dfe76655c 100644 --- a/src/cc/CCassetstx.cpp +++ b/src/cc/CCassetstx.cpp @@ -50,6 +50,7 @@ uint64_t GetAssetBalance(CPubKey pk,uint256 tokenid) UniValue AssetOrders(uint256 refassetid) { + static uint256 zero; uint64_t price; uint256 txid,hashBlock,assetid,assetid2; std::vector origpubkey; CTransaction vintx; UniValue result(UniValue::VARR); std::vector > unspentOutputs; uint8_t funcid; char funcidstr[16],origaddr[64],assetidstr[65]; struct CCcontract_info *cp,C; cp = CCinit(&C,EVAL_ASSETS); SetCCunspents(unspentOutputs,(char *)cp->unspendableCCaddr);