Skip to content

Commit

Permalink
Remove redundant pwallet nullptr check
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Oct 13, 2017
1 parent c4784b5 commit 89f0312
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2895,7 +2895,6 @@ UniValue listunspent(const JSONRPCRequest& request)

UniValue results(UniValue::VARR);
std::vector<COutput> vecOutputs;
assert(pwallet != nullptr);
LOCK2(cs_main, pwallet->cs_wallet);

pwallet->AvailableCoins(vecOutputs, !include_unsafe, nullptr, nMinimumAmount, nMaximumAmount, nMinimumSumAmount, nMaximumCount, nMinDepth, nMaxDepth);
Expand Down

0 comments on commit 89f0312

Please sign in to comment.