aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-08-21 01:05:40 +0100
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2020-08-28 10:42:18 +0100
commit819f10f6718659eeeec13af2ce831df3a0984090 (patch)
treeb904e9e9f5395bd19bcb4bbfd521d5a80c53523a /src/wallet/wallet.h
parent862fde88be706adb20a211178253636442c3ae00 (diff)
downloadbitcoin-819f10f6718659eeeec13af2ce831df3a0984090.tar.xz
wallet, refactor: Immutable CWalletTx::pwallet
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r--src/wallet/wallet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h
index f421de0cf2..bd54af7782 100644
--- a/src/wallet/wallet.h
+++ b/src/wallet/wallet.h
@@ -275,7 +275,7 @@ int CalculateMaximumSignedInputSize(const CTxOut& txout, const CWallet* pwallet,
class CWalletTx
{
private:
- const CWallet* pwallet;
+ const CWallet* const pwallet;
/** Constant used in hashBlock to indicate tx has been abandoned, only used at
* serialization/deserialization to avoid ambiguity with conflicted.