nip86: fix type on pubkey response.

This commit is contained in:
fiatjaf
2025-07-07 12:28:29 -03:00
parent 09d71a059e
commit 33cfe816ac
2 changed files with 5 additions and 15 deletions

View File

@@ -1,13 +1,15 @@
package nip86
import "fiatjaf.com/nostr"
type IDReason struct {
ID string `json:"id"`
Reason string `json:"reason"`
}
type PubKeyReason struct {
PubKey string `json:"pubkey"`
Reason string `json:"reason"`
PubKey nostr.PubKey `json:"pubkey"`
Reason string `json:"reason"`
}
type IPReason struct {