Skip to content

Commit

Permalink
fix: amend random fix arr_size (#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
andysim3d authored Feb 6, 2025
1 parent 7c3c4fc commit dd58ff5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/types/src/authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ impl Eip7702Auth {
address: self.address,
nonce: u64::from_le_bytes(random_bytes_array::<8, 4>()),
y_parity: 27,
r: U256::from_le_bytes(random_bytes_array::<64, 32>()),
s: U256::from_le_bytes(random_bytes_array::<64, 32>()),
r: U256::from_le_bytes(random_bytes_array::<32, 8>()),
s: U256::from_le_bytes(random_bytes_array::<32, 8>()),
}
}
/// Generate a maxfilled Eip7702Auth entity.
Expand Down

0 comments on commit dd58ff5

Please sign in to comment.