Skip to content

Commit 8577012

Browse files
committed
chore(chain): fixed comment in insert_descriptor
1 parent 300526b commit 8577012

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/chain/src/keychain/txout_index.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -506,9 +506,7 @@ impl<K: Clone + Ord + Debug> KeychainTxOutIndex<K> {
506506
if old_desc_id == desc_id {
507507
return changeset;
508508
}
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)
509+
// remove keychain from reverse index
512510
let _is_keychain_removed = self
513511
.keychains
514512
.get_mut(&old_desc_id)

0 commit comments

Comments
 (0)