mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-11-19 18:47:37 +01:00
nip19: decode to pointer.
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package nip19
|
||||
|
||||
import "github.com/nbd-wtf/go-nostr"
|
||||
import (
|
||||
"github.com/nbd-wtf/go-nostr"
|
||||
)
|
||||
|
||||
func NeventFromRelayEvent(ie nostr.RelayEvent) string {
|
||||
v, _ := EncodeEvent(ie.ID, []string{ie.Relay.URL}, ie.PubKey)
|
||||
|
||||
Reference in New Issue
Block a user