mirror of
https://github.com/fiatjaf/nak.git
synced 2024-11-22 16:19:07 -05:00
bunker: update to go-nostr nip46 api breaking change.
This commit is contained in:
parent
a30f422d7d
commit
584881266e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user