From 3ea28878de02eca25ed4329a0238c65f002a119f Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Fri, 12 Jul 2024 13:53:40 -0300 Subject: [PATCH] nip86: fix wrong rpc name. --- nip86/methods.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nip86/methods.go b/nip86/methods.go index 6942e25..0797f17 100644 --- a/nip86/methods.go +++ b/nip86/methods.go @@ -41,7 +41,7 @@ func DecodeRequest(req Request) (MethodParams, error) { } return AllowPubKey{pk, reason}, nil case "listallowedpubkeys": - return ListBannedPubKeys{}, nil + return ListAllowedPubKeys{}, nil case "listeventsneedingmoderation": return ListEventsNeedingModeration{}, nil case "allowevent":