Skip to content

Commit

Permalink
ragnorok
Browse files Browse the repository at this point in the history
  • Loading branch information
quarkonium committed Jun 16, 2018
1 parent 02be675 commit 59d7285
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rpcrawtransaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,14 +247,12 @@ Array listunspent__(double p, double& iR)

set<cba> setAddress;

double i;
double i=0;
Array results;
vector<COutput> vecOutputs;
pwalletMain->AvailableCoins(vecOutputs, false);
BOOST_FOREACH(const COutput& out, vecOutputs)
{
if(i - p >= 0.001)
break;

if (out.nDepth < nMinDepth || out.nDepth > nMaxDepth)
continue;
Expand Down Expand Up @@ -287,6 +285,8 @@ Array listunspent__(double p, double& iR)
printf("XXXX i %f\n", i);
entry.push_back(Pair("confirmations",out.nDepth));
results.push_back(entry);
if(i - p >= 0.001)
break;
}

iR = i;
Expand Down

0 comments on commit 59d7285

Please sign in to comment.