-
Notifications
You must be signed in to change notification settings - Fork 1.6k
DisallowIncomingCredential #5704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
{ | ||
auto const id = ctx.tx[sfAccount]; | ||
if (id != subject && | ||
sleSubject->getFlags() & lsfDisallowIncomingCredential) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use isFlag
instead of getFlags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
Shouldn't this be a feature amendment? |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #5704 +/- ##
=========================================
- Coverage 78.9% 78.9% -0.0%
=========================================
Files 816 816
Lines 72075 72086 +11
Branches 8437 8414 -23
=========================================
+ Hits 56865 56873 +8
- Misses 15210 15213 +3
🚀 New features to boost your workflow:
|
I have chosen it as Fix Amendment because I thought it was originally appropriate to include it in the Credentials Amendment. Changing to Feature Amendment is totally fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fair, but it wasn't in the spec, and I would consider this more of an expansion of the spec than a fix. This amendment adds a new flag. For people implementing tooling, they're generally paying closer attention to the feature amendments and not the fix amendments, and therefore might miss the addition of the new flag if they don't double check this amendment. |
@tequdev please change this to a feature amendment and publish a spec for it in the XRPL-Standards discussions |
Created the spec and changed it to a feature amendment. |
High Level Overview of Change
Blocks incoming (as Subject field) CredentialCreate for your account, similar to the existing DisallowIncoming flags.
Context of Change
Type of Change