damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit aa0b9bde8f0049e5be903c6d26f9c0d2c91afcdf
parent 4e4e8ed460ed7efb64cf696cf1df81e7942081f9
Author: hakkadaikon <hakkadaikon@yahoo.co.jp>
Date:   Sat,  2 Dec 2023 02:52:14 +0900

nostrdb/Delete unuse argument (destsize)

Closes: https://github.com/damus-io/nostrdb/pull/18
Reviewed-by: William Casarin <jb55@jb55.com>
Signed-off-by: William Casarin <jb55@jb55.com>

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

diff --git a/nostrdb/nostrdb.c b/nostrdb/nostrdb.c @@ -3629,7 +3629,7 @@ static int ndb_event_commitment(struct ndb_note *ev, unsigned char *buf, int buf struct cursor cur; int ok; - if (!hex_encode(ev->pubkey, sizeof(ev->pubkey), pubkey, sizeof(pubkey))) + if (!hex_encode(ev->pubkey, sizeof(ev->pubkey), pubkey)) return 0; make_cursor(buf, buf + buflen, &cur);