Skip to content

Commit 7612ba6

Browse files
TheBlueMattfdoving
authored andcommitted
Remove redundant pwallet nullptr check
1 parent 825c4c1 commit 7612ba6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/wallet/rpcwallet.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3114,7 +3114,6 @@ UniValue listunspent(const JSONRPCRequest& request)
31143114

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

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

0 commit comments

Comments
 (0)