Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix electrum conftime_req filter for needs_block_height #1782

2 changes: 1 addition & 1 deletion src/blockchain/electrum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ impl WalletSync for ElectrumBlockchain {
let needs_block_height = conftime_req
.request()
.filter_map(|txid| txid_to_height.get(txid).cloned())
.filter(|height| block_times.contains_key(height))
.filter(|height| !block_times.contains_key(height))
.take(chunk_size)
.collect::<HashSet<u32>>();

Expand Down
Loading