diff --git a/nostrdb/src/bolt11/tal.h b/nostrdb/src/bolt11/tal.h index 8cd7670f..8daafa3d 100644 --- a/nostrdb/src/bolt11/tal.h +++ b/nostrdb/src/bolt11/tal.h @@ -387,7 +387,7 @@ tal_t *tal_parent(const tal_t *ctx); * @type: the type (should match type of @p!) * @p: the tal array to copy (or resized & reparented if take()) * - * The comon case of duplicating an entire tal array. + * The common case of duplicating an entire tal array. */ #define tal_dup_talarr(ctx, type, p) \ ((type *)tal_dup_talarr_((ctx), tal_typechk_(p, type *), \ @@ -418,7 +418,7 @@ tal_t *tal_parent(const tal_t *ctx); * @error_fn: called on errors or NULL (default is abort) * * The defaults are set up so tal functions never return NULL, but you - * can override erorr_fn to change that. error_fn can return, and is + * can override error_fn to change that. error_fn can return, and is * called if alloc_fn or resize_fn fail. * * If any parameter is NULL, that function is unchanged. diff --git a/nostrdb/src/nostrdb.c b/nostrdb/src/nostrdb.c index 69ff8e37..875d81c1 100644 --- a/nostrdb/src/nostrdb.c +++ b/nostrdb/src/nostrdb.c @@ -268,7 +268,7 @@ static int ndb_make_text_search_key(unsigned char *buf, int bufsize, // TODO: need update this to uint64_t // we push this first because our query function can pull this off - // quicky to check matches + // quickly to check matches if (!cursor_push_varint(&cur, (int32_t)note_id)) return 0;