aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 15:51:22 +0000
committerpracticalswift <practicalswift@users.noreply.github.com>2020-12-06 18:44:25 +0000
commit1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9 (patch)
tree6bbc3ecd15d74450843b7049414b0c1950182c4b /src/wallet/wallet.cpp
parent64156ad4d1f50daf35250dc3b329a8a595594d87 (diff)
downloadbitcoin-1c65c075ee4c7f98d9c1fac5ed7576b96374d4e9.tar.xz
Don't declare de facto const member functions as non-const
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r--src/wallet/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp
index 65b54f39b4..5c3d7a9d75 100644
--- a/src/wallet/wallet.cpp
+++ b/src/wallet/wallet.cpp
@@ -2706,7 +2706,7 @@ static uint32_t GetLocktimeForNewTransaction(interfaces::Chain& chain, const uin
return locktime;
}
-OutputType CWallet::TransactionChangeType(const Optional<OutputType>& change_type, const std::vector<CRecipient>& vecSend)
+OutputType CWallet::TransactionChangeType(const Optional<OutputType>& change_type, const std::vector<CRecipient>& vecSend) const
{
// If -changetype is specified, always use that change type.
if (change_type) {