We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
insert_descriptor
1 parent 300526b commit 8577012Copy full SHA for 8577012
crates/chain/src/keychain/txout_index.rs
@@ -506,9 +506,7 @@ impl<K: Clone + Ord + Debug> KeychainTxOutIndex<K> {
506
if old_desc_id == desc_id {
507
return changeset;
508
}
509
- // we should remove old descriptor that is associated with this keychain as the index
510
- // is designed to track one descriptor per keychain (however different keychains can
511
- // share the same descriptor)
+ // remove keychain from reverse index
512
let _is_keychain_removed = self
513
.keychains
514
.get_mut(&old_desc_id)
0 commit comments