mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-31 16:24:48 +02:00
wallet: Add utility method for CanSupportFeature
This commit is contained in:
@@ -70,3 +70,8 @@ std::vector<fs::path> ListWalletDir()
|
||||
|
||||
return paths;
|
||||
}
|
||||
|
||||
bool IsFeatureSupported(int wallet_version, int feature_version)
|
||||
{
|
||||
return wallet_version >= feature_version;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user