Change the "Legacy" variables to amendment checks in visitNodes

- Having parallel variables is error prone in case of any future
  developments. It could also explode if another fix needs to be made
  later.
This commit is contained in:
Ed Hennis
2026-04-09 13:54:26 -04:00
parent f86acbf127
commit d01cfb63ff
2 changed files with 24 additions and 34 deletions

View File

@@ -228,7 +228,6 @@ public:
class NoXRPTrustLines
{
bool xrpTrustLine_ = false;
bool xrpTrustLineLegacy_ = false;
public:
void
@@ -248,7 +247,6 @@ public:
class NoDeepFreezeTrustLinesWithoutFreeze
{
bool deepFreezeWithoutFreeze_ = false;
bool deepFreezeWithoutFreezeLegacy_ = false;
public:
void
@@ -284,7 +282,6 @@ public:
class NoZeroEscrow
{
bool bad_ = false;
bool badLegacy_ = false;
public:
void