File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -256,23 +256,17 @@ impl ToPublicKey for bitcoin::PublicKey {
256256 fn to_public_key ( & self ) -> bitcoin:: PublicKey { * self }
257257
258258 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
259-
260259 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
261-
262260 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
263-
264261 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
265262}
266263
267264impl ToPublicKey for bitcoin:: secp256k1:: PublicKey {
268265 fn to_public_key ( & self ) -> bitcoin:: PublicKey { bitcoin:: PublicKey :: new ( * self ) }
269266
270267 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
271-
272268 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
273-
274269 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
275-
276270 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
277271}
278272
@@ -289,11 +283,8 @@ impl ToPublicKey for bitcoin::secp256k1::XOnlyPublicKey {
289283 fn to_x_only_pubkey ( & self ) -> bitcoin:: secp256k1:: XOnlyPublicKey { * self }
290284
291285 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
292-
293286 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
294-
295287 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
296-
297288 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
298289}
299290
You can’t perform that action at this time.
0 commit comments