From cb36252a9ed2475f3cd390e857e2bf67bccc1e1b Mon Sep 17 00:00:00 2001 From: Aaron Crow Date: Mon, 15 Nov 2021 21:06:53 -0800 Subject: [PATCH] Correct minor typo in sample code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8470d14..7cc5410 100644 --- a/README.md +++ b/README.md @@ -198,7 +198,7 @@ https://explorer.solana.com/tx/5kd5g4mNBSjoTVYwAasWZx6iB8ijaELfBukKrNYBeDvLomK7i This is the sequential code from the previous section. These accounts will need to change if you want to do your own test. ``` -account = KeyPair() +account = Keypair() cfg = {"PRIVATE_KEY": base58.b58encode(account.seed).decode("ascii"), "PUBLIC_KEY": str(account.public_key), "DECRYPTION_KEY": Fernet.generate_key().decode("ascii")} api_endpoint = "https://api.devnet.solana.com/" Client(api_endpoint).request_airdrop(account.public_key, int(1e10))