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/wallet.h | |
parent | 47ed24cf8aa7be3b778731b1f140ad9941157933 (diff) |
Make CWallet::ScanForWalletTransactions args and return value const
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index f96798201f..dcd1ee687b 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -896,7 +896,7 @@ public: void BlockConnected(const std::shared_ptr<const CBlock>& pblock, const CBlockIndex *pindex, const std::vector<CTransactionRef>& vtxConflicted) override; void BlockDisconnected(const std::shared_ptr<const CBlock>& pblock) override; int64_t RescanFromTime(int64_t startTime, const WalletRescanReserver& reserver, bool update); - CBlockIndex* ScanForWalletTransactions(CBlockIndex* pindexStart, CBlockIndex* pindexStop, const WalletRescanReserver& reserver, bool fUpdate = false); + const CBlockIndex* ScanForWalletTransactions(const CBlockIndex* const pindexStart, const CBlockIndex* const pindexStop, const WalletRescanReserver& reserver, bool fUpdate = false); void TransactionRemovedFromMempool(const CTransactionRef &ptx) override; void ReacceptWalletTransactions(); void ResendWalletTransactions(int64_t nBestBlockTime, CConnman* connman) override EXCLUSIVE_LOCKS_REQUIRED(cs_main); |