diff --git a/examples/rust/descriptors/src/main.rs b/examples/rust/descriptors/src/main.rs index 8101ea6..ddd025d 100644 --- a/examples/rust/descriptors/src/main.rs +++ b/examples/rust/descriptors/src/main.rs @@ -23,7 +23,7 @@ fn main() -> () { .expect("Failed to build internal descriptor"); let descriptor_string_priv = descriptor.to_string_with_secret(&key_map); - let change_descriptor_string_priv = descriptor.to_string_with_secret(&change_key_map); + let change_descriptor_string_priv = change_descriptor.to_string_with_secret(&change_key_map); // --8<-- [end:main] println!(