From db39f79f230d38d772bbe6794419e1b93c4bcaa4 Mon Sep 17 00:00:00 2001 From: jiftechnify Date: Tue, 1 Oct 2024 19:17:14 +0900 Subject: [PATCH] ping method considered harmless --- nip46/static-key-signer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nip46/static-key-signer.go b/nip46/static-key-signer.go index 5a9d4a0..314b5ff 100644 --- a/nip46/static-key-signer.go +++ b/nip46/static-key-signer.go @@ -234,6 +234,7 @@ func (p *StaticKeySigner) HandleRequest(event *nostr.Event) ( result = plaintext case "ping": result = "pong" + harmless = true default: return req, resp, eventResponse, fmt.Errorf("unknown method '%s'", req.Method)