Skip to content

Commit

Permalink
Drop default_on_eof attribute from Reward struct
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines authored and mergify[bot] committed Jul 14, 2021
1 parent 88433a2 commit 33718e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion transaction-status/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 33718e5

Please sign in to comment.