Commit 6054d8e
committed
bip158: Return no match for empty query
Perhaps this is up for debate, but considering the use case of checking
for inclusions in a block, an empty query should not return `true` for any
element, as no elements exist in the query. If the user happens to have
no scripts to query for whatever reason, they will think every block is
relevant.1 parent 8aec240 commit 6054d8e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | | - | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
0 commit comments