Update example

This commit is contained in:
Tomasz Drwięga 2018-02-13 09:40:05 +01:00
parent 3df0ceac14
commit eab1b27962
No known key found for this signature in database
GPG Key ID: B2BA26B1C688F8FC
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ use ethereum_types::U256;
fn main() {
let mut val: U256 = 1023.into();
for _ in 0..200 { val = val * 2.into() }
for _ in 0..200 { val = val * 2u32 }
assert_eq!(
&format!("{}", val),
"1643897619276947051879427220465009342380213662639797070513307648"