diff options
author | Ben Woosley <ben.woosley@gmail.com> | 2018-04-25 15:41:55 -0400 |
---|---|---|
committer | Ben Woosley <ben.woosley@gmail.com> | 2018-11-13 00:01:14 -0500 |
commit | bb24d686500375564a2137f0940b329b6905bce6 (patch) | |
tree | d27dccfa93f179ed01088ffece0e4b9d793d9b3d /src/wallet/rpcwallet.cpp | |
parent | 47ed24cf8aa7be3b778731b1f140ad9941157933 (diff) |
Make CWallet::ScanForWalletTransactions args and return value const
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index bfac990639..1514c978b8 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -3332,7 +3332,7 @@ UniValue rescanblockchain(const JSONRPCRequest& request) } } - CBlockIndex *stopBlock = pwallet->ScanForWalletTransactions(pindexStart, pindexStop, reserver, true); + const CBlockIndex* stopBlock = pwallet->ScanForWalletTransactions(pindexStart, pindexStop, reserver, true); if (!stopBlock) { if (pwallet->IsAbortingRescan()) { throw JSONRPCError(RPC_MISC_ERROR, "Rescan aborted."); |