Skip to content

Commit

Permalink
nip17: use new path for Keyer interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Oct 17, 2024
1 parent 9c692af commit 050ad2c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions nip17/nip17.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 050ad2c

Please sign in to comment.