Commit e7d992a
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 c2cce97 commit e7d992a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
309 | | - | |
| 309 | + | |
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
| |||
0 commit comments