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 8d1fb46 commit 0ce1f41
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/test/app/LPTokenTransfer_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ class LPTokenTransfer_test : public jtx::AMMTest

if (features[fixLPTokenTransfer])
{
// with fixLPTokenTransfer, alice fails to use the carol's offer
// since it is unfunded as carol's USD is frozen
// with fixLPTokenTransfer, alice fails to consume carol's offer
// since carol's USD is frozen
env(pay(alice, bob, STAmount{lpIssue, 10}),
txflags(tfPartialPayment),
sendmax(XRP(10)),
Expand All @@ -158,7 +158,8 @@ class LPTokenTransfer_test : public jtx::AMMTest
}
else
{
// without fixLPTokenTransfer, alice can consume carol's offer
// without fixLPTokenTransfer, alice can consume carol's offer even
// when carol's USD is frozen
env(pay(alice, bob, STAmount{lpIssue, 10}),
txflags(tfPartialPayment),
sendmax(XRP(10)));
Expand Down

0 comments on commit 0ce1f41

Please sign in to comment.