Skip to content

Commit f7a8d2d

Browse files
ledhed2222kennyzlei
authored andcommitted
Add fixUnburnableNFToken feature (#4391)
1 parent 3255946 commit f7a8d2d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/ripple/protocol/Feature.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ namespace detail {
7474
// Feature.cpp. Because it's only used to reserve storage, and determine how
7575
// large to make the FeatureBitset, it MAY be larger. It MUST NOT be less than
7676
// the actual number of amendments. A LogicError on startup will verify this.
77-
static constexpr std::size_t numFeatures = 56;
77+
static constexpr std::size_t numFeatures = 57;
7878

7979
/** Amendments that this server supports and the default voting behavior.
8080
Whether they are enabled depends on the Rules defined in the validated
@@ -343,6 +343,7 @@ extern uint256 const featureImmediateOfferKilled;
343343
extern uint256 const featureDisallowIncoming;
344344
extern uint256 const featureXRPFees;
345345
extern uint256 const fixUniversalNumber;
346+
extern uint256 const fixUnburnableNFToken;
346347

347348
} // namespace ripple
348349

src/ripple/protocol/impl/Feature.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,7 @@ REGISTER_FEATURE(ImmediateOfferKilled, Supported::yes, DefaultVote::no)
453453
REGISTER_FEATURE(DisallowIncoming, Supported::yes, DefaultVote::no);
454454
REGISTER_FEATURE(XRPFees, Supported::yes, DefaultVote::no);
455455
REGISTER_FIX (fixUniversalNumber, Supported::yes, DefaultVote::no);
456+
REGISTER_FIX (fixUnburnableNFToken, Supported::yes, DefaultVote::no);
456457

457458
// The following amendments have been active for at least two years. Their
458459
// pre-amendment code has been removed and the identifiers are deprecated.

0 commit comments

Comments
 (0)