From 8b1dbf5c9ffe3e43a12dea67ddf8114ec26733e5 Mon Sep 17 00:00:00 2001 From: Marko Bencun Date: Sun, 14 Nov 2021 13:04:28 +0100 Subject: [PATCH] util/address: remove unused generic type --- src/util/address.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/util/address.rs b/src/util/address.rs index 0ac3a9b2..055b2e96 100644 --- a/src/util/address.rs +++ b/src/util/address.rs @@ -515,9 +515,9 @@ impl Address { /// Create a pay to taproot address from untweaked key pub fn p2tr( - secp: Secp256k1, - internal_key: UntweakedPublicKey, - merkle_root: Option, + secp: Secp256k1, + internal_key: UntweakedPublicKey, + merkle_root: Option, network: Network ) -> Address { Address { @@ -532,8 +532,8 @@ impl Address { /// Create a pay to taproot address from a pre-tweaked output key. /// /// This method is not recommended for use and [Address::p2tr()] should be used where possible. - pub fn p2tr_tweaked( - output_key: TweakedPublicKey, + pub fn p2tr_tweaked( + output_key: TweakedPublicKey, network: Network ) -> Address { Address {