mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
fixed small typo
This commit is contained in:
parent
ea968c79d1
commit
635c1b0132
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user