Skip to content

Instantly share code, notes, and snippets.

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>;