Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Sep 18, 2024
1 parent 274660b commit 04c5bde
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion include/xrpl/protocol/Batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//==============================================================================

#include <xrpl/protocol/HashPrefix.h>
#include <xrpl/protocol/Serializer.h>
#include <xrpl/protocol/STVector256.h>
#include <xrpl/protocol/Serializer.h>

namespace ripple {

Expand Down
2 changes: 1 addition & 1 deletion src/libxrpl/protocol/STTx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#include <xrpl/protocol/PublicKey.h>
#include <xrpl/protocol/STAccount.h>
#include <xrpl/protocol/STArray.h>
#include <xrpl/protocol/STVector256.h>
#include <xrpl/protocol/STTx.h>
#include <xrpl/protocol/STVector256.h>
#include <xrpl/protocol/Sign.h>
#include <xrpl/protocol/TxFlags.h>
#include <xrpl/protocol/UintTypes.h>
Expand Down
3 changes: 2 additions & 1 deletion src/test/app/Batch_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,8 @@ class Batch_test : public beast::unit_test::suite
env.close();
}

// TODO: #40 failed: unhandled exception: Field not found: TransactionType
// TODO: #40 failed: unhandled exception: Field not found:
// TransactionType
// // temINVALID_BATCH: Batch: TransactionType missing in array entry.
// {
// auto const seq = env.seq(alice);
Expand Down
8 changes: 4 additions & 4 deletions src/test/jtx/batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ class sig
sig(std::vector<Reg> signers_);

template <class AccountType, class... Accounts>
requires std::convertible_to<AccountType, Reg>
explicit sig(AccountType&& a0, Accounts&&... aN)
requires std::convertible_to<AccountType, Reg> explicit sig(
AccountType&& a0,
Accounts&&... aN)
: sig{std::vector<Reg>{
std::forward<AccountType>(a0),
std::forward<Accounts>(aN)...}}
Expand Down Expand Up @@ -165,8 +166,7 @@ class msig
msig(Account const& masterAccount, std::vector<Reg> signers_);

template <class AccountType, class... Accounts>
requires std::convertible_to<AccountType, Reg>
explicit msig(
requires std::convertible_to<AccountType, Reg> explicit msig(
Account const& masterAccount,
AccountType&& a0,
Accounts&&... aN)
Expand Down

0 comments on commit 04c5bde

Please sign in to comment.