Skip to content

Commit

Permalink
example(cli): TODO WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
notmandatory committed Feb 16, 2024
1 parent 1c947cb commit 297c71b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-crates/example_cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ where

let (descriptor, mut keymap) =
Descriptor::<DescriptorPublicKey>::parse_descriptor(&secp, &args.descriptor)?;
index.add_keychain(Keychain::External, descriptor);
_ = index.add_keychain(Keychain::External, descriptor)?; // TODO does this need to be persisted?

if let Some((internal_descriptor, internal_keymap)) = args
.change_descriptor
Expand All @@ -705,7 +705,7 @@ where
.transpose()?
{
keymap.extend(internal_keymap);
index.add_keychain(Keychain::Internal, internal_descriptor);
_ = index.add_keychain(Keychain::Internal, internal_descriptor); // TODO does this need to be persisted?
}

let mut db_backend = match Store::<C>::open_or_create_new(db_magic, &args.db_path) {
Expand Down

0 comments on commit 297c71b

Please sign in to comment.