From 635c1b0132bcb341932685f1292f2c80efb5c585 Mon Sep 17 00:00:00 2001 From: Dylan Cant Date: Fri, 13 Jan 2023 22:14:21 -0500 Subject: [PATCH] fixed small typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed252e3..a868d3f 100644 --- a/README.md +++ b/README.md @@ -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))