Skip to content

Commit

Permalink
fix: use B256::new instead of from (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Nov 28, 2024
1 parent 0913a7e commit 097a368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/eips/src/eip7685.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl Requests {
req_hash.update(req);
hash.update(req_hash.finalize());
}
B256::from(hash.finalize().as_ref())
B256::new(hash.finalize().into())
}

/// Extend this container with requests from another container.
Expand Down

0 comments on commit 097a368

Please sign in to comment.