Skip to content

Commit

Permalink
propagates Ok(false)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanCorDX committed Dec 7, 2024
1 parent 08fec4a commit 5bef158
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/rbuilder/src/building/builders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ where

/// Returns true if success, on false builder should stop
pub fn consume_next_batch(&mut self) -> eyre::Result<bool> {
self.order_consumer.consume_next_commands()?;
if !self.order_consumer.consume_next_commands()? {
return Ok(false);
}
self.update_onchain_nonces()?;

self.order_consumer
Expand Down

0 comments on commit 5bef158

Please sign in to comment.