Skip to content

Commit

Permalink
clang
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 committed Oct 31, 2023
1 parent 7c7ba59 commit 08a1bb5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion src/ripple/app/tx/impl/CFTokenIssuanceCreate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@ CFTokenIssuanceCreate::doApply()
if (mPriorBalance < view().fees().accountReserve((*acct)[sfOwnerCount] + 1))
return tecINSUFFICIENT_RESERVE;

auto const cftID = keylet::cftIssuance(account_, ctx_.tx.getSeqProxy().value());
auto const cftID =
keylet::cftIssuance(account_, ctx_.tx.getSeqProxy().value());

// create the CFT
{
Expand Down
2 changes: 1 addition & 1 deletion src/ripple/protocol/jss.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ JSS(Asset2); // in: AMM Asset2
JSS(AuthAccount); // in: AMM Auction Slot
JSS(AuthAccounts); // in: AMM Auction Slot
JSS(Bridge); // ledger type.
JSS(CFTokenIssuance); // ledger type.
JSS(CFTokenIssuance); // ledger type.
JSS(CFTokenIssuanceCreate); // transaction type.
JSS(Check); // ledger type.
JSS(CheckCancel); // transaction type.
Expand Down
6 changes: 2 additions & 4 deletions src/test/app/CFToken_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ class CFToken_test : public beast::unit_test::suite

BEAST_EXPECT(env.ownerCount(master) == 0);

env(cft::create(master),
ter(temDISABLED));
env(cft::create(master), ter(temDISABLED));
env.close();

BEAST_EXPECT(env.ownerCount(master) == 0);
Expand All @@ -53,8 +52,7 @@ class CFToken_test : public beast::unit_test::suite

BEAST_EXPECT(env.ownerCount(master) == 0);

env(cft::create(
master));
env(cft::create(master));
env.close();

BEAST_EXPECT(env.ownerCount(master) == 1);
Expand Down

0 comments on commit 08a1bb5

Please sign in to comment.