Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: spks_of_all_keychains() shouldn't return an..
..infinite iterator for non-wildcard descriptors We would previously use `new_with_range`, which didn't check if the descriptor had a wildcard or not. This meant that for non-wildcard descriptors we created a spkiterator that would go on producing the same spk over and over again; this caused some scanning issues with electrum and esplora. To reproduce the bug, run in `example-crates/example_electrum`: ``` cargo run "sh(wsh(or_d(c:pk_k(cPGudvRLDSgeV4hH9NUofLvYxYBSRjju3cpiXmBg9K8G9k1ikCMp),c:pk_k(cSBSBHRrzqSXFmrBhLkZMzQB9q4P9MnAq92v8d9a5UveBc9sLX32))))#zp9pcfs9" scan ```
- Loading branch information