Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Dec 12, 2024
1 parent 0ce1f41 commit 20fb2ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/app/LPTokenTransfer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ class LPTokenTransfer_test : public jtx::AMMTest
env(token::mint(bob, 0), txflags(tfTransferable));
env.close();

// bob creates a sell offer accepting lptoken
// bob creates a sell offer for lptoken
uint256 const sellOfferIndex = keylet::nftoffer(bob, env.seq(bob)).key;
env(token::createOffer(bob, nftID, STAmount{lpIssue, 10}),
txflags(tfSellNFToken));
Expand All @@ -378,7 +378,7 @@ class LPTokenTransfer_test : public jtx::AMMTest
env(trust(gw, carol["USD"](1'000'000), tfClearFreeze));
env.close();

// carol can buy the nft
// carol can now accept the offer and own the nft
env(token::acceptSellOffer(carol, sellOfferIndex));
env.close();

Expand Down

0 comments on commit 20fb2ba

Please sign in to comment.