Skip to content

Commit

Permalink
removed unused declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Oct 18, 2024
1 parent fe6fa60 commit 4f0ab9c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/xrpld/rpc/detail/MPTokenIssuanceID.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
/*
This file is part of rippled: https://github.com/ripple/rippled
Copyright (c) 2023 Ripple Labs Inc.
Copyright (c) 2024 Ripple Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
Expand Down Expand Up @@ -75,7 +75,7 @@ insertMPTokenIssuanceID(
return;

std::optional<uint192> result = getIDFromCreatedIssuance(transactionMeta);
if (result.has_value())
if (result)
response[jss::mpt_issuance_id] = to_string(result.value());
}

Expand Down
3 changes: 0 additions & 3 deletions src/xrpld/rpc/detail/Tuning.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ static LimitRange constexpr accountNFTokens = {20, 100, 400};
/** Limits for the nft_buy_offers & nft_sell_offers commands. */
static LimitRange constexpr nftOffers = {50, 250, 500};

/** Limits for the nft_buy_offers & nft_sell_offers commands. */
static LimitRange constexpr mptHolders = {10, 200, 400};

static int constexpr defaultAutoFillFeeMultiplier = 10;
static int constexpr defaultAutoFillFeeDivisor = 1;
static int constexpr maxPathfindsInProgress = 2;
Expand Down
2 changes: 0 additions & 2 deletions src/xrpld/rpc/handlers/Handlers.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ doBlackList(RPC::JsonContext&);
Json::Value
doCanDelete(RPC::JsonContext&);
Json::Value
doMPTHolders(RPC::JsonContext&);
Json::Value
doChannelAuthorize(RPC::JsonContext&);
Json::Value
doChannelVerify(RPC::JsonContext&);
Expand Down

0 comments on commit 4f0ab9c

Please sign in to comment.