From 073421433b0bd31817f11de3ed0806ac826af96b Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 7 Apr 2018 22:25:09 +0300 Subject: [PATCH] Test --- src/komodo_bitcoind.h | 1 - src/wallet/rpcwallet.cpp | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/komodo_bitcoind.h b/src/komodo_bitcoind.h index 4c75249b6..53ec13b00 100644 --- a/src/komodo_bitcoind.h +++ b/src/komodo_bitcoind.h @@ -992,7 +992,6 @@ void komodo_listunspent(); int32_t komodo_staked(uint256 *utxotxidp,int32_t *utxovoutp,uint64_t *utxovaluep,uint8_t *utxosig) { - set setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; *utxovaluep = 0; memset(utxotxidp,0,sizeof(*utxotxidp)); memset(utxovoutp,0,sizeof(*utxovoutp)); diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index 438b1f0be..461b81c89 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2693,8 +2693,7 @@ UniValue listunspent(const UniValue& params, bool fHelp) void komodo_listunspent() { - fprintf(stderr,"call listunspent\n"); - vector vecOutputs; + set setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; vector vecOutputs; assert(pwalletMain != NULL); LOCK2(cs_main, pwalletMain->cs_wallet); pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);