bunker: update to go-nostr nip46 api breaking change.

This commit is contained in:
fiatjaf 2024-01-11 21:41:50 -03:00
parent a30f422d7d
commit 584881266e
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -84,7 +84,7 @@ var bunker = &cli.Command{
}, },
}) })
signer := nip46.NewSigner(sec) signer := nip46.NewStaticKeySigner(sec)
for ie := range events { for ie := range events {
req, resp, eventResponse, harmless, err := signer.HandleRequest(ie.Event) req, resp, eventResponse, harmless, err := signer.HandleRequest(ie.Event)
if err != nil { if err != nil {