docs: fix stake state typo (#23776)
This commit is contained in:
parent
a419374fa4
commit
c556811c0f
|
@ -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
|
// We can verify the state of our stake. This may take some time to become active
|
||||||
let stakeState = await connection.getStakeActivation(stakeAccount.publicKey);
|
let stakeState = await connection.getStakeActivation(stakeAccount.publicKey);
|
||||||
console.log(`Stake Stake: ${stakeState.state}`);
|
console.log(`Stake state: ${stakeState.state}`);
|
||||||
// Stake State: inactive
|
// Stake state: inactive
|
||||||
|
|
||||||
// To delegate our stake, we get the current vote accounts and choose the first
|
// To delegate our stake, we get the current vote accounts and choose the first
|
||||||
let voteAccounts = await connection.getVoteAccounts();
|
let voteAccounts = await connection.getVoteAccounts();
|
||||||
|
|
Loading…
Reference in New Issue