Skip to content

Commit 8d190ba

Browse files
committed
fix electrum conftime_req filter for needs_block_height
1 parent 8081006 commit 8d190ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/blockchain/electrum.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ impl WalletSync for ElectrumBlockchain {
168168
let needs_block_height = conftime_req
169169
.request()
170170
.filter_map(|txid| txid_to_height.get(txid).cloned())
171-
.filter(|height| block_times.contains_key(height))
171+
.filter(|height| !block_times.contains_key(height))
172172
.take(chunk_size)
173173
.collect::<HashSet<u32>>();
174174

0 commit comments

Comments
 (0)