Skip to content

Commit ecffa6b

Browse files
committed
6054d8e bip158: Return no match for empty query (rustaceanrob) Pull request description: Would be nice to have this logic change in a patch release ACKs for top commit: tcharding: ACK 6054d8e apoelstra: ACK 6054d8e; successfully ran local tests; I think this is a bugfix, so good to go in Tree-SHA512: 26f810544ca32588c66b357bb977c2d03188ee9d34f920bbcf963db9d70f04a9709de866918da34248bb5cec3ec83c24681183d77bfd34041bfa835aeec03127
2 parents 8aec240 + 6054d8e commit ecffa6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitcoin/src/bip158.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ impl GcsFilterReader {
290290
// sort
291291
mapped.sort_unstable();
292292
if mapped.is_empty() {
293-
return Ok(true);
293+
return Ok(false);
294294
}
295295
if n_elements.0 == 0 {
296296
return Ok(false);

0 commit comments

Comments
 (0)