Use ID in nip86.IDReason

This commit is contained in:
Jon Staab
2025-09-25 15:49:53 -07:00
committed by fiatjaf
parent 59bd3c29ff
commit 113657314e
6 changed files with 6 additions and 7 deletions

View File

@@ -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) {

View File

@@ -3,8 +3,8 @@ package betterbinary
import (
"testing"
"github.com/mailru/easyjson"
"fiatjaf.com/nostr"
"github.com/mailru/easyjson"
)
func TestTagFiltering(t *testing.T) {

View File

@@ -31,4 +31,3 @@ func ParseRelayList(event nostr.Event) (readRelays []string, writeRelays []strin
return readRelays, writeRelays
}

View File

@@ -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"
)

View File

@@ -3,7 +3,7 @@ package nip86
import "fiatjaf.com/nostr"
type IDReason struct {
ID string `json:"id"`
ID nostr.ID `json:"id"`
Reason string `json:"reason"`
}

View File

@@ -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)