@@ -1109,7 +1109,7 @@ mod tests {
11091109 . push_opcode( opcodes:: all:: OP_DUP )
11101110 . push_opcode( opcodes:: all:: OP_HASH160 )
11111111 . push_slice(
1112- & hash160:: Hash :: from_str( "84e9ed95a38613f0527ff685a9928abe2d4754d4" , )
1112+ hash160:: Hash :: from_str( "84e9ed95a38613f0527ff685a9928abe2d4754d4" , )
11131113 . unwrap( )
11141114 . to_byte_array( )
11151115 )
@@ -1133,7 +1133,7 @@ mod tests {
11331133 script:: Builder :: new( )
11341134 . push_opcode( opcodes:: all:: OP_PUSHBYTES_0 )
11351135 . push_slice(
1136- & hash160:: Hash :: from_str( "84e9ed95a38613f0527ff685a9928abe2d4754d4" , )
1136+ hash160:: Hash :: from_str( "84e9ed95a38613f0527ff685a9928abe2d4754d4" , )
11371137 . unwrap( )
11381138 . to_byte_array( )
11391139 )
@@ -1155,7 +1155,7 @@ mod tests {
11551155 script:: Builder :: new( )
11561156 . push_opcode( opcodes:: all:: OP_HASH160 )
11571157 . push_slice(
1158- & hash160:: Hash :: from_str( "f1c3b9a431134cb90a500ec06e0067cfa9b8bba7" , )
1158+ hash160:: Hash :: from_str( "f1c3b9a431134cb90a500ec06e0067cfa9b8bba7" , )
11591159 . unwrap( )
11601160 . to_byte_array( )
11611161 )
@@ -1178,7 +1178,7 @@ mod tests {
11781178 script:: Builder :: new( )
11791179 . push_opcode( opcodes:: all:: OP_HASH160 )
11801180 . push_slice(
1181- & hash160:: Hash :: from_str( "aa5282151694d3f2f32ace7d00ad38f927a33ac8" , )
1181+ hash160:: Hash :: from_str( "aa5282151694d3f2f32ace7d00ad38f927a33ac8" , )
11821182 . unwrap( )
11831183 . to_byte_array( )
11841184 )
@@ -1201,7 +1201,7 @@ mod tests {
12011201 script:: Builder :: new( )
12021202 . push_opcode( opcodes:: all:: OP_PUSHBYTES_0 )
12031203 . push_slice(
1204- & sha256:: Hash :: from_str(
1204+ sha256:: Hash :: from_str(
12051205 "\
12061206 f9379edc8983152dc781747830075bd5\
12071207 3896e4b0ce5bff73777fd77d124ba085\
@@ -1228,7 +1228,7 @@ mod tests {
12281228 script:: Builder :: new( )
12291229 . push_opcode( opcodes:: all:: OP_HASH160 )
12301230 . push_slice(
1231- & hash160:: Hash :: from_str( "4bec5d7feeed99e1d0a23fe32a4afe126a7ff07e" , )
1231+ hash160:: Hash :: from_str( "4bec5d7feeed99e1d0a23fe32a4afe126a7ff07e" , )
12321232 . unwrap( )
12331233 . to_byte_array( )
12341234 )
@@ -1333,7 +1333,7 @@ mod tests {
13331333 let redeem_script = script:: Builder :: new ( )
13341334 . push_opcode ( opcodes:: all:: OP_PUSHBYTES_0 )
13351335 . push_slice (
1336- & hash160:: Hash :: from_str ( "d1b2a1faf62e73460af885c687dee3b7189cd8ab" )
1336+ hash160:: Hash :: from_str ( "d1b2a1faf62e73460af885c687dee3b7189cd8ab" )
13371337 . unwrap ( )
13381338 . to_byte_array ( ) ,
13391339 )
0 commit comments