[ripple/rippled] Allow ed25519 node and validator keys (#2647)

miguelportilla commented on this pull request.

> + uint256(),
+ NetClock::time_point(),
+ keys.first,
+ keys.second,
+ calcNodeID(keys.first),
+ true,
+ STValidation::FeeSettings{},
+ std::vector{});
+ };
+
+ std::array const keyTypes {{
+ KeyType::secp256k1,
+ KeyType::ed25519
+ }};
+
+ for (auto const& keyType : keyTypes)

Consider eliminating `keyTypes` and using «`for (auto const &keyType : {KeyType::secp256k1, KeyType::ed25519})«`

Добавить комментарий