Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mm-zk committed Sep 22, 2023
1 parent 5610f50 commit c31553e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ impl<S: ForkSource + std::fmt::Debug> InMemoryNode<S> {
// Halt means that something went really bad with the transaction execution (in most cases invalid signature,
// but it could also be bootloader panic etc).
// In such case, we should not persist the VM data, and we should pretend that transaction never existed.
return Err(format!("Transaction HALT: {}", reason.to_string()));
return Err(format!("Transaction HALT: {}", reason));
}
// Write all the mutated keys (storage slots).
let mut inner = self
Expand Down
2 changes: 1 addition & 1 deletion src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn mine_empty_blocks<S: std::fmt::Debug + ForkSource>(

let block = create_empty_block(
node.current_miniblock as u32,
node.current_timestamp.into(),
node.current_timestamp,
node.current_batch,
);

Expand Down

0 comments on commit c31553e

Please sign in to comment.