Skip to content

Commit

Permalink
Merge pull request #11 from absolute-community/revert-8-TheCaat-patch-1
Browse files Browse the repository at this point in the history
Revert "Do not list locked coins - take 2"
  • Loading branch information
CryptoCentric authored Jul 21, 2018
2 parents 1aff1bf + 03b2999 commit 4b25409
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/rpc/masternode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ UniValue masternode(const UniValue& params, bool fHelp)
" current - Print info on current masternode winner to be paid the next block (calculated locally)\n"
" genkey - Generate new masternodeprivkey\n"
#ifdef ENABLE_WALLET
" outputs - Print masternode compatible (unlocked) outputs\n"
" outputs - Print masternode compatible outputs\n"
" start-alias - Start single remote masternode by assigned alias configured in masternode.conf\n"
" start-<mode> - Start remote masternodes configured in masternode.conf (<mode>: 'all', 'missing', 'disabled')\n"
#endif // ENABLE_WALLET
Expand Down Expand Up @@ -376,9 +376,6 @@ UniValue masternode(const UniValue& params, bool fHelp)

UniValue obj(UniValue::VOBJ);
BOOST_FOREACH(COutput& out, vPossibleCoins) {
// Do not add locked coins
if(pwalletMain->IsLockedCoin(out.tx->GetHash(), out.i))
continue;
obj.push_back(Pair(out.tx->GetHash().ToString(), strprintf("%d", out.i)));
}

Expand Down

0 comments on commit 4b25409

Please sign in to comment.