From 4792e568ef20207ed89f0043d1e51b6a28ab6bd5 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Thu, 27 Feb 2025 19:15:33 -0300 Subject: [PATCH] fix: event.pubkey, not event.id in p tag --- packages/ditto/storages/DittoRelayStore.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ditto/storages/DittoRelayStore.test.ts b/packages/ditto/storages/DittoRelayStore.test.ts index b073c865..5a1c020c 100644 --- a/packages/ditto/storages/DittoRelayStore.test.ts +++ b/packages/ditto/storages/DittoRelayStore.test.ts @@ -63,7 +63,7 @@ Deno.test('Admin revokes nip05 grant and nip05 column gets null', async () => { created_at: nostrNow(), tags: [ ['k', '30360'], - ['p', event.id], // NOTE: this is not in the NIP-09 spec + ['p', event.pubkey], // NOTE: this is not in the NIP-09 spec ], content: '', });