wallet: Add utility method for CanSupportFeature

This commit is contained in:
Andrew Chow
2020-04-29 14:48:43 -04:00
parent a1e0359618
commit 842ae3842d
3 changed files with 7 additions and 2 deletions

View File

@@ -70,3 +70,8 @@ std::vector<fs::path> ListWalletDir()
return paths;
}
bool IsFeatureSupported(int wallet_version, int feature_version)
{
return wallet_version >= feature_version;
}