Skip to content

Commit 89f0312

Browse files
committed
Remove redundant pwallet nullptr check
1 parent c4784b5 commit 89f0312

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
@@ -2895,7 +2895,6 @@ UniValue listunspent(const JSONRPCRequest& request)
28952895

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

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

0 commit comments

Comments
 (0)