Skip to content

Commit

Permalink
U256::from(U256::from(_)) oops
Browse files Browse the repository at this point in the history
  • Loading branch information
shekhirin committed Feb 29, 2024
1 parent 995c965 commit 11cc2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/interfaces/src/test_utils/generators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn random_tx<R: Rng>(rng: &mut R) -> Transaction {
gas_price: rng.gen::<u16>().into(),
gas_limit: rng.gen::<u16>().into(),
to: TransactionKind::Call(rng.gen()),
value: U256::from(U256::from(rng.gen::<u16>())),
value: U256::from(rng.gen::<u16>()),
input: Bytes::default(),
})
}
Expand Down

0 comments on commit 11cc2a0

Please sign in to comment.