nostrdb

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

commit 0626d3edb39afb720cc0aadd1b141d6112aae1e3
parent fff91df87c02e44dfed8f9afa2b097815e9ed741
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 26 Jul 2023 10:09:49 -0700

fix build

Diffstat:
MMakefile | 3++-
Mtest.c | 1-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,4 +1,5 @@ -CFLAGS = -Wall -Wno-unused-function -Werror -O2 -g +INCLUDES = deps/secp256k1/include +CFLAGS = -Wall -Wno-unused-function -Werror -O2 -g -I$(INCLUDES) HEADERS = sha256.h nostrdb.h cursor.h hex.h jsmn.h config.h sha256.h random.h SRCS = nostrdb.c sha256.c LDS = $(SRCS) $(ARS) diff --git a/test.c b/test.c @@ -256,7 +256,6 @@ static void test_tce_eose() { assert(ok); assert(tce.evtype == NDB_TCE_EOSE); - assert(tce.command_result.ok == 1); assert(tce.subid_len == 1); assert(!memcmp(tce.subid, "s", 1)); }