From d5db84c16cffc1ec476310af724c9312a1c20c54 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 9 Sep 2018 21:13:06 -1100 Subject: [PATCH] Fix --- src/cc/oracles.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cc/oracles.cpp b/src/cc/oracles.cpp index df2e58e5a..a5337e636 100644 --- a/src/cc/oracles.cpp +++ b/src/cc/oracles.cpp @@ -483,7 +483,7 @@ int64_t OraclePrice(int32_t height,uint256 reforacletxid,char *markeraddr,char * uint256 OraclesBatontxid(uint256 reforacletxid,CPubKey refpk) { std::vector > unspentOutputs; - CTransaction tx; uint256 hash,txid,rettxid,oracletxid; CPubKey pk,markerpubkey; int32_t numvouts,ht,maxheight=0; int64_t datafee; uint8_t buf33[33]; char markeraddr[64]; std::vector data; struct CCcontract_info *cp,C; + CTransaction tx; uint256 hash,txid,rettxid,oracletxid; CPubKey pk,markerpubkey; int32_t numvouts,maxheight=0; int64_t datafee,ht; uint8_t buf33[33]; char markeraddr[64]; std::vector data; struct CCcontract_info *cp,C; rettxid = zeroid; cp = CCinit(&C,EVAL_ORACLES); buf33[0] = 0x02;