This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/descriptor/template.rs b/src/descriptor/template.rs | |
index fb4e7b0..2ab515a 100644 | |
--- a/src/descriptor/template.rs | |
+++ b/src/descriptor/template.rs | |
@@ -51,7 +51,7 @@ pub type DescriptorTemplateOut = (ExtendedDescriptor, KeyMap, ValidNetworks); | |
/// ``` | |
pub trait DescriptorTemplate { | |
/// Build the complete descriptor | |
- fn build(self) -> Result<DescriptorTemplateOut, DescriptorError>; | |
+ fn build(self, network: Network) -> Result<DescriptorTemplateOut, DescriptorError>; |