Skip to content

Commit

Permalink
resolve code conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
yinyiqian1 committed Nov 1, 2024
1 parent 511047f commit 25f9ba6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion include/xrpl/protocol/Feature.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace detail {
// Feature.cpp. Because it's only used to reserve storage, and determine how
// large to make the FeatureBitset, it MAY be larger. It MUST NOT be less than
// the actual number of amendments. A LogicError on startup will verify this.
static constexpr std::size_t numFeatures = 80;
static constexpr std::size_t numFeatures = 81;

/** Amendments that this server supports and the default voting behavior.
Whether they are enabled depends on the Rules defined in the validated
Expand Down
11 changes: 11 additions & 0 deletions src/test/app/MPToken_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,17 @@ class MPToken_test : public beast::unit_test::suite
};
ammBid(sfBidMin);
ammBid(sfBidMax);
// AMMClawback
{
Json::Value jv;
jv[jss::TransactionType] = jss::AMMClawback;
jv[jss::Account] = alice.human();
jv[jss::Holder] = carol.human();
jv[jss::Asset] = to_json(xrpIssue());
jv[jss::Asset2] = to_json(USD.issue());
jv[jss::Amount] = mpt.getJson(JsonOptions::none);
test(jv, jss::Amount.c_str());
}
// CheckCash
auto checkCash = [&](SField const& field) {
Json::Value jv;
Expand Down

0 comments on commit 25f9ba6

Please sign in to comment.