This commit is contained in:
jl777
2018-04-07 22:25:09 +03:00
parent a16386bc8c
commit 073421433b
2 changed files with 1 additions and 3 deletions

View File

@@ -992,7 +992,6 @@ void komodo_listunspent();
int32_t komodo_staked(uint256 *utxotxidp,int32_t *utxovoutp,uint64_t *utxovaluep,uint8_t *utxosig)
{
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999;
*utxovaluep = 0;
memset(utxotxidp,0,sizeof(*utxotxidp));
memset(utxovoutp,0,sizeof(*utxovoutp));

View File

@@ -2693,8 +2693,7 @@ UniValue listunspent(const UniValue& params, bool fHelp)
void komodo_listunspent()
{
fprintf(stderr,"call listunspent\n");
vector<COutput> vecOutputs;
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; vector<COutput> vecOutputs;
assert(pwalletMain != NULL);
LOCK2(cs_main, pwalletMain->cs_wallet);
pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);