change vote commission to u8 (from u32) (#4887)

automerge
This commit is contained in:
Rob Walker
2019-07-02 14:18:11 -07:00
committed by Grimes
parent 8620d0a3b2
commit 12ef0c25b5
7 changed files with 21 additions and 21 deletions

View File

@ -205,8 +205,8 @@ pub struct RpcVoteAccountInfo {
/// The current stake, in lamports, delegated to this vote account
pub stake: u64,
/// A 32-bit integer used as a fraction (commission/MAX_U32) for rewards payout
pub commission: u32,
/// An 8-bit integer used as a fraction (commission/MAX_U8) for rewards payout
pub commission: u8,
}
#[rpc(server)]