From 90b946de0349658d8d4bbf8c04b58825271f2039 Mon Sep 17 00:00:00 2001 From: Slavomir Date: Wed, 1 Sep 2021 16:19:54 +0200 Subject: [PATCH] Fix code formatting in key parsing example --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 863faece..0c54b0b3 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,8 @@ func main() { ### Load/parse private and private keys ```go -{ // Load private key from a json file generated with +{ + // Load private key from a json file generated with // $ solana-keygen new --outfile=standard.solana-keygen.json privateKey, err := solana.PrivateKeyFromSolanaKeygenFile("/path/to/standard.solana-keygen.json") if err != nil { @@ -118,7 +119,8 @@ func main() { fmt.Println("public key:", publicKey.String()) } -{ // Load private key from base58: +{ + // Load private key from base58: { privateKey, err := solana.PrivateKeyFromBase58("66cDvko73yAf8LYvFMM3r8vF5vJtkk7JKMgEKwkmBC86oHdq41C7i1a2vS3zE1yCcdLLk6VUatUb32ZzVjSBXtRs") if err != nil {