Test
This commit is contained in:
@@ -2693,7 +2693,7 @@ UniValue listunspent(const UniValue& params, bool fHelp)
|
||||
|
||||
void komodo_listunspent()
|
||||
{
|
||||
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; vector<COutput> vecOutputs;
|
||||
set<CBitcoinAddress> setAddress; int32_t nMinDepth = 1,nMaxDepth = 9999999; vector<COutput> vecOutputs; CTxDestination address;
|
||||
assert(pwalletMain != NULL);
|
||||
LOCK2(cs_main, pwalletMain->cs_wallet);
|
||||
pwalletMain->AvailableCoins(vecOutputs, false, NULL, true);
|
||||
@@ -2703,7 +2703,6 @@ void komodo_listunspent()
|
||||
continue;
|
||||
if ( setAddress.size() )
|
||||
{
|
||||
CTxDestination address;
|
||||
if (!ExtractDestination(out.tx->vout[out.i].scriptPubKey, address))
|
||||
continue;
|
||||
if (!setAddress.count(address))
|
||||
|
||||
Reference in New Issue
Block a user