nostrdb

an unfairly fast embedded nostr database backed by lmdb
git clone git://jb55.com/nostrdb
Log | Files | Refs | Submodules | README | LICENSE

commit f6cb3f6ef79fc08af8e8b596b11de59e3a1d0bfa
parent 53008790f983ee53243498f1dc75aaf63f6f8440
Author: William Casarin <jb55@jb55.com>
Date:   Wed,  3 Jan 2024 18:15:31 -0800

test: actually use filter in subscription in filter test

Diffstat:
Mtest.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test.c b/test.c @@ -1243,7 +1243,7 @@ static void test_subscriptions() assert(ndb_filter_add_int_element(f, 1337)); ndb_filter_end_field(f); - assert((subid = ndb_subscribe(ndb, NULL, 0))); + assert((subid = ndb_subscribe(ndb, f, 1))); assert(ndb_process_event(ndb, ev, strlen(ev)));