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);