File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1163,7 +1163,7 @@ mod tests {
11631163 let after = no_checks_ms ( & format ! ( "after({})" , 1000 ) ) ;
11641164 let older = no_checks_ms ( & format ! ( "older({})" , 1000 ) ) ;
11651165 //Hashes
1166- let preimage = [ 0xab as u8 ; 32 ] ;
1166+ let preimage = [ 0xab ; 32 ] ;
11671167 let sha256_hash = sha256:: Hash :: hash ( & preimage) ;
11681168 let sha256 = no_checks_ms ( & format ! ( "sha256({})" , sha256_hash) ) ;
11691169 let hash256_hash = hash256:: Hash :: hash ( & preimage) ;
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ pub mod test {
272272 . map ( |pk| hash160:: Hash :: hash ( & pk. to_bytes ( ) ) )
273273 . collect ( ) ;
274274
275- let preimage = vec ! [ 0xab as u8 ; 32 ] ;
275+ let preimage = vec ! [ 0xab ; 32 ] ;
276276 let sha256_hash = sha256:: Hash :: hash ( & preimage) ;
277277 let sha256d_hash_rev = sha256d:: Hash :: hash ( & preimage) ;
278278 let mut sha256d_hash_bytes = sha256d_hash_rev. into_inner ( ) ;
You can’t perform that action at this time.
0 commit comments