mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
clang-format
This commit is contained in:
@@ -436,11 +436,7 @@ STTx::checkBatchSingleSign(STObject const& batchSigner) const
|
||||
{
|
||||
Serializer msg;
|
||||
serializeBatch(
|
||||
msg,
|
||||
getAccountID(sfAccount),
|
||||
getSeqValue(),
|
||||
getFlags(),
|
||||
getBatchTransactionIDs());
|
||||
msg, getAccountID(sfAccount), getSeqValue(), getFlags(), getBatchTransactionIDs());
|
||||
finishMultiSigningData(batchSigner.getAccountID(sfAccount), msg);
|
||||
return singleSignHelper(batchSigner, msg.slice());
|
||||
}
|
||||
@@ -531,11 +527,7 @@ STTx::checkBatchMultiSign(STObject const& batchSigner, Rules const& rules) const
|
||||
auto const batchSignerAccount = batchSigner.getAccountID(sfAccount);
|
||||
Serializer dataStart;
|
||||
serializeBatch(
|
||||
dataStart,
|
||||
getAccountID(sfAccount),
|
||||
getSeqValue(),
|
||||
getFlags(),
|
||||
getBatchTransactionIDs());
|
||||
dataStart, getAccountID(sfAccount), getSeqValue(), getFlags(), getBatchTransactionIDs());
|
||||
dataStart.addBitString(batchSignerAccount);
|
||||
return multiSignHelper(
|
||||
batchSigner,
|
||||
|
||||
@@ -4587,8 +4587,7 @@ class Batch_test : public beast::unit_test::suite
|
||||
batch::msig(bob, {dave, elsa}),
|
||||
ter(tesSUCCESS));
|
||||
|
||||
auto const bobSignerEntry =
|
||||
jt1.jv[sfBatchSigners.jsonName][0u];
|
||||
auto const bobSignerEntry = jt1.jv[sfBatchSigners.jsonName][0u];
|
||||
|
||||
env(jt1, ter(tesSUCCESS));
|
||||
env.close();
|
||||
|
||||
@@ -72,14 +72,10 @@ struct LedgerReplay_test : public beast::unit_test::suite
|
||||
|
||||
LedgerMaster& ledgerMaster = env.app().getLedgerMaster();
|
||||
auto const lastClosed = ledgerMaster.getClosedLedger();
|
||||
auto const lastClosedParent =
|
||||
ledgerMaster.getLedgerByHash(lastClosed->header().parentHash);
|
||||
auto const lastClosedParent = ledgerMaster.getLedgerByHash(lastClosed->header().parentHash);
|
||||
|
||||
auto const replayed = buildLedger(
|
||||
LedgerReplay(lastClosedParent, lastClosed),
|
||||
tapNONE,
|
||||
env.app(),
|
||||
env.journal);
|
||||
LedgerReplay(lastClosedParent, lastClosed), tapNONE, env.app(), env.journal);
|
||||
|
||||
BEAST_EXPECT(replayed->header().hash == lastClosed->header().hash);
|
||||
}
|
||||
|
||||
@@ -219,8 +219,7 @@ buildLedger(
|
||||
{
|
||||
if (tx.second->isFlag(tfInnerBatchTxn))
|
||||
continue;
|
||||
applyTransaction(
|
||||
app, accum, *tx.second, false, applyFlags, j);
|
||||
applyTransaction(app, accum, *tx.second, false, applyFlags, j);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user