Skip to content

Commit e579033

Browse files
committed
Formatting
1 parent 20b6854 commit e579033

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

src/herder/HerderImpl.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ HerderImpl::emitEnvelope(SCPEnvelope const& envelope)
585585
// TODO: Move to Herder.cpp?
586586
TransactionQueue::AddResult
587587
Herder::recvTransaction(TransactionQueuesPtr txQueues,
588-
TransactionFrameBasePtr tx, bool submittedFromSelf)
588+
TransactionFrameBasePtr tx, bool submittedFromSelf)
589589
{
590590
ZoneScoped;
591591
ClassicTransactionQueue& classicTxQueue =
@@ -2521,7 +2521,9 @@ HerderImpl::getTx(Hash const& hash) const
25212521
return mTransactionQueues->getTx(hash);
25222522
}
25232523

2524-
TransactionQueuesPtr HerderImpl::getTransactionQueues() const {
2524+
TransactionQueuesPtr
2525+
HerderImpl::getTransactionQueues() const
2526+
{
25252527
releaseAssert(mTransactionQueues);
25262528
return mTransactionQueues;
25272529
}

src/herder/TransactionQueue.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,6 @@ TransactionQueue::lock() const
343343
return TxQueueLock(std::move(lock), mTxQueueCv);
344344
}
345345

346-
347346
TransactionQueue::AddResult
348347
TransactionQueue::canAdd(
349348
TransactionFrameBasePtr tx, AccountStates::iterator& stateIter,

src/overlay/OverlayManager.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ class OverlayManager
9595
// TODO: Docs
9696
// TODO: This is going to be called in a lambda. Be careful about those
9797
// pointers and references
98-
virtual void
99-
recordAddTransactionStats(TxQueueAddResult const& addResult,
100-
Hash const& txHash, Peer::pointer peer,
101-
Hash const& index) = 0;
98+
virtual void recordAddTransactionStats(TxQueueAddResult const& addResult,
99+
Hash const& txHash,
100+
Peer::pointer peer,
101+
Hash const& index) = 0;
102102

103103
// Process incoming transaction, pass it down to the transaction queue
104104
virtual void recvTransaction(StellarMessage const& msg, Peer::pointer peer,

0 commit comments

Comments
 (0)