Skip to content

Commit

Permalink
serde as KeyPairBase64 (#4568)
Browse files Browse the repository at this point in the history
  • Loading branch information
arun-koshy authored Sep 12, 2022
1 parent 0c1ec11 commit dced2e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sui-config/src/genesis_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ impl GenesisConfig {
pub struct ValidatorGenesisInfo {
#[serde_as(as = "KeyPairBase64")]
pub key_pair: AuthorityKeyPair,
#[serde_as(as = "KeyPairBase64")]
pub worker_key_pair: AuthorityKeyPair,
pub account_key_pair: SuiKeyPair,
pub network_key_pair: SuiKeyPair,
Expand Down

0 comments on commit dced2e7

Please sign in to comment.