From 050ad2c5099dd1e4dc6ce4874afbfa71ca0bd8dc Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Thu, 17 Oct 2024 01:04:09 -0300 Subject: [PATCH] nip17: use new path for Keyer interface. --- nip17/nip17.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/nip17/nip17.go b/nip17/nip17.go index c73b6d8..7ca8354 100644 --- a/nip17/nip17.go +++ b/nip17/nip17.go @@ -6,7 +6,6 @@ import ( "strings" "github.com/nbd-wtf/go-nostr" - "github.com/nbd-wtf/go-nostr/keyer" "github.com/nbd-wtf/go-nostr/nip59" ) @@ -39,7 +38,7 @@ func PublishMessage( pool *nostr.SimplePool, ourRelays []string, theirRelays []string, - kr keyer.Keyer, + kr nostr.Keyer, recipientPubKey string, modify func(*nostr.Event), ) error { @@ -92,7 +91,7 @@ func PrepareMessage( ctx context.Context, content string, tags nostr.Tags, - kr keyer.Keyer, + kr nostr.Keyer, recipientPubKey string, modify func(*nostr.Event), ) (toUs nostr.Event, toThem nostr.Event, err error) { @@ -139,7 +138,7 @@ func PrepareMessage( func ListenForMessages( ctx context.Context, pool *nostr.SimplePool, - kr keyer.Keyer, + kr nostr.Keyer, ourRelays []string, since nostr.Timestamp, ) chan nostr.Event {