Enable testing beta RPC API version with config

This commit is contained in:
Peng Wang
2020-06-23 17:47:19 -04:00
committed by manojsdoshi
parent 7717056cf2
commit 2eb1c6a396
21 changed files with 230 additions and 138 deletions

View File

@@ -635,6 +635,9 @@ Config::loadFromString(std::string const& fileContents)
"majority is 15 minutes");
}
if (getSingleSection(secConfig, SECTION_BETA_RPC_API, strTemp, j_))
BETA_RPC_API = beast::lexicalCastThrow<bool>(strTemp);
// Do not load trusted validator configuration for standalone mode
if (!RUN_STANDALONE)
{