Use ID in nip86.IDReason
This commit is contained in:
@@ -5,9 +5,9 @@ import (
|
||||
"slices"
|
||||
"testing"
|
||||
|
||||
"fiatjaf.com/nostr"
|
||||
"github.com/kr/pretty"
|
||||
"github.com/mailru/easyjson"
|
||||
"fiatjaf.com/nostr"
|
||||
)
|
||||
|
||||
func TestBaseCase(t *testing.T) {
|
||||
|
||||
@@ -3,8 +3,8 @@ package betterbinary
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/mailru/easyjson"
|
||||
"fiatjaf.com/nostr"
|
||||
"github.com/mailru/easyjson"
|
||||
)
|
||||
|
||||
func TestTagFiltering(t *testing.T) {
|
||||
|
||||
@@ -31,4 +31,3 @@ func ParseRelayList(event nostr.Event) (readRelays []string, writeRelays []strin
|
||||
|
||||
return readRelays, writeRelays
|
||||
}
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@ import (
|
||||
"strings"
|
||||
"unsafe"
|
||||
|
||||
"fiatjaf.com/nostr"
|
||||
"github.com/mailru/easyjson"
|
||||
jwriter "github.com/mailru/easyjson/jwriter"
|
||||
"fiatjaf.com/nostr"
|
||||
"github.com/tidwall/gjson"
|
||||
)
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@ package nip86
|
||||
import "fiatjaf.com/nostr"
|
||||
|
||||
type IDReason struct {
|
||||
ID string `json:"id"`
|
||||
Reason string `json:"reason"`
|
||||
ID nostr.ID `json:"id"`
|
||||
Reason string `json:"reason"`
|
||||
}
|
||||
|
||||
type PubKeyReason struct {
|
||||
|
||||
@@ -3,8 +3,8 @@ package lmdb
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/PowerDNS/lmdb-go/lmdb"
|
||||
"fiatjaf.com/nostr/sdk/kvstore"
|
||||
"github.com/PowerDNS/lmdb-go/lmdb"
|
||||
)
|
||||
|
||||
var _ kvstore.KVStore = (*Store)(nil)
|
||||
|
||||
Reference in New Issue
Block a user