Add missing rootSlot documentation (#27709)

This commit is contained in:
steviez 2022-09-22 14:59:31 -05:00 committed by GitHub
parent f3fcbdba29
commit 0a0d31e5fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -3266,6 +3266,7 @@ each containing an array of JSON objects with the following sub fields:
- `commission: <number>`, percentage (0-100) of rewards payout owed to the vote account
- `lastVote: <u64>` - Most recent slot voted on by this vote account
- `epochCredits: <array>` - History of how many credits earned by the end of each epoch, as an array of arrays containing: `[epoch, credits, previousCredits]`
- `rootSlot: <u64>` - Current root slot for this vote account
#### Example:

View File

@ -381,7 +381,7 @@ pub struct RpcVoteAccountInfo {
/// Most recent slot voted on by this vote account (0 if no votes exist)
pub last_vote: u64,
/// Current root slot for this vote account (0 if not root slot exists)
/// Current root slot for this vote account (0 if no root slot exists)
pub root_slot: Slot,
}