xpop_history bug

This commit is contained in:
Richard Holland
2022-12-21 11:43:57 +00:00
parent 4c8542ad06
commit 42da01d87c

View File

@@ -482,7 +482,7 @@ Config::loadFromString(std::string const& fileContents)
std::string strTemp;
if (getSingleSection(secConfig, SECTION_XPOP_HISTORY, strTemp, j_))
XPOP_HISTORY = beast::lexicalCastThrow<bool>(strTemp);
XPOP_HISTORY = beast::lexicalCastThrow<uint32_t>(strTemp);
if (getSingleSection(secConfig, SECTION_NETWORK_ID, strTemp, j_))
{