wallet, refactor: Immutable CWalletTx::pwallet

This commit is contained in:
João Barbosa 2020-08-21 01:05:40 +01:00
parent 862fde88be
commit 819f10f671

View File

@ -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.