Skip to content

Commit

Permalink
undo pages
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Nov 3, 2023
1 parent 758f270 commit 724563d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 46 deletions.
12 changes: 11 additions & 1 deletion src/ripple/app/tx/impl/details/NFTokenUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <ripple/protocol/AccountID.h>
#include <ripple/protocol/TER.h>
#include <ripple/protocol/nft.h>
#include <ripple/app/tx/impl/details/PageUtils.h>

namespace ripple {

Expand All @@ -51,6 +50,17 @@ findToken(
AccountID const& owner,
uint256 const& nftokenID);

/** Finds the token in the owner's token directory. Returns token and page. */
struct TokenAndPage
{
STObject token;
std::shared_ptr<SLE> page;

TokenAndPage(STObject const& token_, std::shared_ptr<SLE> page_)
: token(token_), page(std::move(page_))
{
}
};
std::optional<TokenAndPage>
findTokenAndPage(
ApplyView& view,
Expand Down
45 changes: 0 additions & 45 deletions src/ripple/app/tx/impl/details/PageUtils.h

This file was deleted.

0 comments on commit 724563d

Please sign in to comment.