Rename allowClawback flag to allowTrustLineClawback (#4617)

Reason for this change is here XRPLF/XRPL-Standards#119

We would want to be explicit that this flag is exclusively for trustline. For new token types(eg. CFT), they will not utilize this flag for clawback, instead, they will turn clawback on/off on the token-level, which is more versatile.
This commit is contained in:
Shawn Xie
2023-07-13 21:00:32 -04:00
committed by GitHub
parent cb09e61d2f
commit 5ba1f984df
9 changed files with 113 additions and 104 deletions

View File

@@ -93,10 +93,10 @@ public:
// and are tested elsewhere
continue;
}
if (flag == asfAllowClawback)
if (flag == asfAllowTrustLineClawback)
{
// The asfAllowClawback flag can't be cleared. It is tested
// elsewhere.
// The asfAllowTrustLineClawback flag can't be cleared. It
// is tested elsewhere.
continue;
}