We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4977b1f commit a0403f7Copy full SHA for a0403f7
crates/batcher/src/lib.rs
@@ -1827,10 +1827,10 @@ impl Batcher {
1827
// For now, we flush everything as a safety measure
1828
self.flush_queue_and_clear_nonce_cache().await;
1829
1830
- // Return a different error that indicates state was corrupted and flushed
1831
- return Err(BatcherError::StateCorruptedAndFlushed(
1832
- format!("Queue and user states flushed due to insufficient balance for user {:?}", address)
1833
- ));
+ return Err(BatcherError::StateCorruptedAndFlushed(format!(
+ "Queue and user states flushed due to insufficient balance for user {:?}",
+ address
+ )));
1834
}
1835
_ => {
1836
// Add more cases here if we want in the future
0 commit comments