aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2017-10-01 00:23:02 -0400
committerMatt Corallo <git@bluematt.me>2017-10-13 19:30:15 -0400
commit89f03120a02690cff8399d77c979169355bf9cae (patch)
treed7003b4a1f6e94872dcb7fe62d1b96b80d9405de /src
parentc4784b506558744749acf12d4cff1aca2dcc3f76 (diff)
Remove redundant pwallet nullptr check
Diffstat (limited to 'src')
-rw-r--r--src/wallet/rpcwallet.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 91e2d73ec8..6d01f79d52 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -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);