Skip to content

Commit

Permalink
fix: apply pr comment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
royvardhan committed Sep 18, 2024
1 parent 6eb7383 commit f643648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bins/revme/src/cmd/statetest/models/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub struct TestAuthorization {
impl TestAuthorization {
pub fn signature(&self) -> Signature {
let v = u64::try_from(self.v).unwrap_or(u64::MAX);
let parity = Parity::try_from(v).unwrap();
let parity = Parity::try_from(v).unwrap_or(Parity::Eip155(36));
Signature::from_rs_and_parity(self.r, self.s, parity).unwrap()
}

Expand Down

0 comments on commit f643648

Please sign in to comment.