diff options
| author | Andrew Chow <[email protected]> | 2020-04-29 17:07:52 -0400 |
|---|---|---|
| committer | Andrew Chow <[email protected]> | 2020-11-04 12:15:12 -0500 |
| commit | 8e32e1c41c995e832e643f605d35a7aa112837e6 (patch) | |
| tree | ee4bcf1f4ac7daeb09d1958c5301995c1660ae38 /src/wallet/scriptpubkeyman.h | |
| parent | wallet: have ScriptPubKeyMan::Upgrade check against the new version (diff) | |
| download | discoin-8e32e1c41c995e832e643f605d35a7aa112837e6.tar.xz discoin-8e32e1c41c995e832e643f605d35a7aa112837e6.zip | |
wallet: remove nWalletMaxVersion
nWalletMaxVersion was used to allow an upgrade to a version only
when the new feature was used. This makes sense for the old
-upgradewallet startup option. But because upgradewallet is now a RPC,
putting off the version bump like this does not make sense. Instead,
immediately upgrading to the given version number makes sense.
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
| -rw-r--r-- | src/wallet/scriptpubkeyman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index afbb1922c..78bfeeabc 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -37,7 +37,7 @@ public: virtual bool IsWalletFlagSet(uint64_t) const = 0; virtual void UnsetBlankWalletFlag(WalletBatch&) = 0; virtual bool CanSupportFeature(enum WalletFeature) const = 0; - virtual void SetMinVersion(enum WalletFeature, WalletBatch* = nullptr, bool = false) = 0; + virtual void SetMinVersion(enum WalletFeature, WalletBatch* = nullptr) = 0; virtual const CKeyingMaterial& GetEncryptionKey() const = 0; virtual bool HasEncryptionKeys() const = 0; virtual bool IsLocked() const = 0; |