Drop default_on_eof attribute from Reward struct

(cherry picked from commit 33718e5fb4)
This commit is contained in:
Michael Vines
2021-07-14 09:22:22 -07:00
parent 17177a41c7
commit e15721f22d

View File

@ -339,7 +339,6 @@ pub struct Reward {
pub lamports: i64,
pub post_balance: u64, // Account balance in lamports after `lamports` was applied
pub reward_type: Option<RewardType>,
#[serde(deserialize_with = "default_on_eof")]
pub commission: Option<u8>, // Vote account commission when the reward was credited, only present for voting and staking rewards
}