Skip to content

Commit 18de39a

Browse files
committed
fix: better batcher log with nonce error
1 parent 0de8d9b commit 18de39a

File tree

1 file changed

+1
-1
lines changed
  • batcher/aligned-batcher/src

1 file changed

+1
-1
lines changed

batcher/aligned-batcher/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ impl Batcher {
547547

548548
if expected_nonce < msg_nonce {
549549
std::mem::drop(batch_state_lock);
550-
warn!("Invalid nonce for address {addr}, had nonce {expected_nonce:?} < {msg_nonce:?}");
550+
warn!("Invalid nonce for address {addr}, expected nonce: {expected_nonce:?}, received nonce: {msg_nonce:?}");
551551
send_message(ws_conn_sink.clone(), ResponseMessage::InvalidNonce).await;
552552
return Ok(());
553553
}

0 commit comments

Comments
 (0)