aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoão Barbosa <[email protected]>2020-08-21 01:05:40 +0100
committerJoão Barbosa <[email protected]>2020-08-28 10:42:18 +0100
commit819f10f6718659eeeec13af2ce831df3a0984090 (patch)
treeb904e9e9f5395bd19bcb4bbfd521d5a80c53523a /src
parentMerge #19067: tests: Add fuzzing harness for CNode (diff)
downloaddiscoin-819f10f6718659eeeec13af2ce831df3a0984090.tar.xz
discoin-819f10f6718659eeeec13af2ce831df3a0984090.zip
wallet, refactor: Immutable CWalletTx::pwallet
Diffstat (limited to 'src')
-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 f421de0cf..bd54af778 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.