Navigation Menu

Skip to content

Commit

Permalink
Make committee member public keys optional, defaulting to empty vec
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsanchezq committed Oct 21, 2020
1 parent 1a65381 commit af2e024
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jormungandr-lib/src/interfaces/vote/mod.rs
Expand Up @@ -88,7 +88,8 @@ pub struct VotePlanDef {
proposals: Proposals,
#[serde(
deserialize_with = "deserialize_committee_member_public_keys",
getter = "committee_member_public_keys"
getter = "committee_member_public_keys",
default = "Vec::new"
)]
committee_member_public_keys: Vec<chain_vote::MemberPublicKey>,
}
Expand Down

0 comments on commit af2e024

Please sign in to comment.