Skip to content

Commit

Permalink
fix: create string from internal change descriptor
Browse files Browse the repository at this point in the history
String representation for the internal descriptor was being generated by
external descriptor instead.
  • Loading branch information
110CodingP committed Dec 12, 2024
1 parent ded34a7 commit eaf349d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rust/descriptors/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!(
Expand Down

0 comments on commit eaf349d

Please sign in to comment.