mirror of
git://jb55.com/damus
synced 2024-09-16 02:03:45 +00:00
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>
This commit is contained in:
parent
4e4e8ed460
commit
aa0b9bde8f
@ -3629,7 +3629,7 @@ static int ndb_event_commitment(struct ndb_note *ev, unsigned char *buf, int buf
|
|||||||
struct cursor cur;
|
struct cursor cur;
|
||||||
int ok;
|
int ok;
|
||||||
|
|
||||||
if (!hex_encode(ev->pubkey, sizeof(ev->pubkey), pubkey, sizeof(pubkey)))
|
if (!hex_encode(ev->pubkey, sizeof(ev->pubkey), pubkey))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
make_cursor(buf, buf + buflen, &cur);
|
make_cursor(buf, buf + buflen, &cur);
|
||||||
|
Loading…
Reference in New Issue
Block a user