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 @@ -253,23 +253,17 @@ impl ToPublicKey for bitcoin::PublicKey {
253253 fn to_public_key ( & self ) -> bitcoin:: PublicKey { * self }
254254
255255 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
256-
257256 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
258-
259257 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
260-
261258 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
262259}
263260
264261impl ToPublicKey for bitcoin:: secp256k1:: PublicKey {
265262 fn to_public_key ( & self ) -> bitcoin:: PublicKey { bitcoin:: PublicKey :: new ( * self ) }
266263
267264 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
268-
269265 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
270-
271266 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
272-
273267 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
274268}
275269
@@ -286,11 +280,8 @@ impl ToPublicKey for bitcoin::secp256k1::XOnlyPublicKey {
286280 fn to_x_only_pubkey ( & self ) -> bitcoin:: secp256k1:: XOnlyPublicKey { * self }
287281
288282 fn to_sha256 ( hash : & sha256:: Hash ) -> sha256:: Hash { * hash }
289-
290283 fn to_hash256 ( hash : & hash256:: Hash ) -> hash256:: Hash { * hash }
291-
292284 fn to_ripemd160 ( hash : & ripemd160:: Hash ) -> ripemd160:: Hash { * hash }
293-
294285 fn to_hash160 ( hash : & hash160:: Hash ) -> hash160:: Hash { * hash }
295286}
296287
You can’t perform that action at this time.
0 commit comments