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":