mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Write improved forAllApiVersions used in NetworkOPs (#4833)
This commit is contained in:
@@ -284,12 +284,9 @@ public:
|
||||
testSetAndClear();
|
||||
|
||||
auto withFeatsTests = [this](FeatureBitset features) {
|
||||
for (auto testVersion = RPC::apiMinimumSupportedVersion;
|
||||
testVersion <= RPC::apiBetaVersion;
|
||||
++testVersion)
|
||||
{
|
||||
forAllApiVersions([&, this](unsigned testVersion) {
|
||||
testDefaultRipple(features, testVersion);
|
||||
}
|
||||
});
|
||||
testNegativeBalance(features);
|
||||
testPairwise(features);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user