Skip to content

Commit

Permalink
fix naming of URIToken jss, change IOUEscrow and URIToken to default no
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardAH committed Mar 13, 2023
1 parent b35c23b commit cd8faf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ripple/protocol/impl/Feature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,8 @@ REGISTER_FEATURE(BalanceRewards, Supported::yes, DefaultVote::yes
REGISTER_FIX (fixRemoveNFTokenAutoTrustLine, Supported::yes, DefaultVote::yes);
REGISTER_FEATURE(ImmediateOfferKilled, Supported::yes, DefaultVote::no);
REGISTER_FEATURE(DisallowIncoming, Supported::yes, DefaultVote::no);
REGISTER_FEATURE(PaychanAndEscrowForTokens, Supported::yes, DefaultVote::yes);
REGISTER_FEATURE(URIToken, Supported::yes, DefaultVote::yes);
REGISTER_FEATURE(PaychanAndEscrowForTokens, Supported::yes, DefaultVote::no);
REGISTER_FEATURE(URIToken, Supported::yes, DefaultVote::no);

// The following amendments have been active for at least two years. Their
// pre-amendment code has been removed and the identifiers are deprecated.
Expand Down
4 changes: 2 additions & 2 deletions src/test/rpc/LedgerRPC_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1250,7 +1250,7 @@ class LedgerRPC_test : public beast::unit_test::suite
{
// Request the uritoken using its index.
Json::Value jvParams;
jvParams[jss::uri_token] = to_string(uritokenIndex);
jvParams[jss::URIToken] = to_string(uritokenIndex);
jvParams[jss::ledger_hash] = ledgerHash;
Json::Value const jrr = env.rpc("json", "ledger_entry", to_string(jvParams))[jss::result];
BEAST_EXPECT(jrr[jss::node][sfOwner.jsonName] == alice.human());
Expand All @@ -1260,7 +1260,7 @@ class LedgerRPC_test : public beast::unit_test::suite
{
// Request an index that is not a uritoken.
Json::Value jvParams;
jvParams[jss::uri_token] = ledgerHash;
jvParams[jss::URIToken] = ledgerHash;
jvParams[jss::ledger_hash] = ledgerHash;
Json::Value const jrr = env.rpc(
"json", "ledger_entry", to_string(jvParams))[jss::result];
Expand Down

0 comments on commit cd8faf6

Please sign in to comment.