Skip to content

Commit 039f4ff

Browse files
authored
apollo_mempool: fix accidentle line breakes in logs (#9858)
1 parent 5e40bd6 commit 039f4ff

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

crates/apollo_mempool/src/mempool.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ impl Mempool {
563563
Ok(())
564564
}
565565

566-
/// If this transaction is already in the pool but the fees have increased beyond the thereshold
566+
/// If this transaction is already in the pool but the fees have increased beyond the threshold
567567
/// in the config, remove the existing transaction from the queue and the pool.
568568
/// Note: This method will **not** add the new incoming transaction.
569569
#[instrument(level = "debug", skip(self, incoming_tx), err)]
@@ -588,9 +588,9 @@ impl Mempool {
588588
};
589589

590590
if !self.should_replace_tx(&existing_tx_reference, &incoming_tx_reference) {
591-
debug!(
592-
"{existing_tx_reference} was not replaced by {incoming_tx_reference} due to
593-
insufficient fee escalation."
591+
info!(
592+
"{existing_tx_reference} was not replaced by {incoming_tx_reference} due to \
593+
insufficient fee escalation."
594594
);
595595
// TODO(Elin): consider adding a more specific error type / message.
596596
return Err(MempoolError::DuplicateNonce { address, nonce });
@@ -864,8 +864,8 @@ impl std::fmt::Display for TransactionReference {
864864
let TransactionReference { address, nonce, tx_hash, tip, max_l2_gas_price } = self;
865865
write!(
866866
f,
867-
"TransactionReference {{ address: {address}, nonce: {nonce}, tx_hash: {tx_hash},
868-
tip: {tip}, max_l2_gas_price: {max_l2_gas_price} }}"
867+
"TransactionReference {{ address: {address}, nonce: {nonce}, tx_hash: {tx_hash}, tip: \
868+
{tip}, max_l2_gas_price: {max_l2_gas_price} }}"
869869
)
870870
}
871871
}

0 commit comments

Comments
 (0)