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.
1 parent 2867e88 commit e89cf5aCopy full SHA for e89cf5a
crates/chain/src/keychain/txout_index.rs
@@ -192,8 +192,7 @@ impl<K: Clone + Ord + Debug> KeychainTxOutIndex<K> {
192
/// [`set_lookahead`]: Self::set_lookahead
193
pub fn set_lookahead_for_all(&mut self, lookahead: u32) {
194
for keychain in &self.keychains.keys().cloned().collect::<Vec<_>>() {
195
- self.lookahead.insert(keychain.clone(), lookahead);
196
- self.replenish_lookahead(keychain);
+ self.set_lookahead(keychain, lookahead);
197
}
198
199
0 commit comments