diff --git a/src/ripple/app/tx/impl/Change.cpp b/src/ripple/app/tx/impl/Change.cpp index 1c087ff66..c91b79403 100644 --- a/src/ripple/app/tx/impl/Change.cpp +++ b/src/ripple/app/tx/impl/Change.cpp @@ -458,6 +458,13 @@ Change::activateXahauGenesis() bool const isTest = (ctx_.tx.getFlags() & tfTestSuite) && ctx_.app.config().standalone(); + // RH NOTE: we'll only configure xahau governance structure on networks that + // begin with 2133... so production xahau: 21337 and its testnet 21338 + // with 21330-21336 and 21339 also valid and reserved for dev nets etc. + // all other Network IDs will be conventionally configured. + if ((ctx_.app.config().NETWORK_ID / 10) != 2133 && !isTest) + return; + auto [ng_entries, l1_entries, l2_entries, gov_params] = normalizeXahauGenesis( isTest ? TestNonGovernanceDistribution : NonGovernanceDistribution,