fixed small typo

This commit is contained in:
Dylan Cant 2023-01-13 22:14:21 -05:00 committed by fiatjaf
parent ea968c79d1
commit 635c1b0132

View File

@ -12,8 +12,8 @@ A set of useful things for [Nostr Protocol](https://github.com/nostr-protocol/no
``` go
sk, _ := nostr.GenerateKey()
pk, _ := nostr.GetPublicKey(sk)
nsec, _ = nip19.EncodePrivateKey(sk)
npub, _ = nip19.EncodePublicKey(pk)
nsec, _ := nip19.EncodePrivateKey(sk)
npub, _ := nip19.EncodePublicKey(pk)
fmt.Println("sk:", sk)
fmt.Println("pk:", nostr.GetPublicKey(sk))