diff --git a/docs/src/developing/clients/javascript-reference.md b/docs/src/developing/clients/javascript-reference.md index cde6969f6a..57612c87b3 100644 --- a/docs/src/developing/clients/javascript-reference.md +++ b/docs/src/developing/clients/javascript-reference.md @@ -681,8 +681,8 @@ console.log(`Stake balance: ${stakeBalance}`) // We can verify the state of our stake. This may take some time to become active let stakeState = await connection.getStakeActivation(stakeAccount.publicKey); -console.log(`Stake Stake: ${stakeState.state}`); -// Stake State: inactive +console.log(`Stake state: ${stakeState.state}`); +// Stake state: inactive // To delegate our stake, we get the current vote accounts and choose the first let voteAccounts = await connection.getVoteAccounts();