Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinI committed Jul 30, 2024
1 parent 6288fa0 commit 992a285
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/builder_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,10 +503,8 @@ impl<TYPES: NodeType> BuilderState<TYPES> {
let txn_count = self.tx_queue.len();

// insert the recently built block into the builder commitments
self.builder_commitments.insert((
state_id,
builder_hash.clone(),
));
self.builder_commitments
.insert((state_id, builder_hash.clone()));

let encoded_txns: Vec<u8> = payload.encode().to_vec();
let block_size: u64 = encoded_txns.len() as u64;
Expand Down

0 comments on commit 992a285

Please sign in to comment.