Skip to content

Commit

Permalink
genesis: properly serialize network public keys as bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed Dec 21, 2022
1 parent bc7033c commit 06b88d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sui-config/src/genesis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ pub fn generate_genesis_system_object(
} in committee
{
pubkeys.push(validator.protocol_key());
network_pubkeys.push(validator.network_key());
worker_pubkeys.push(validator.worker_key());
network_pubkeys.push(validator.network_key().as_bytes().to_vec());
worker_pubkeys.push(validator.worker_key().as_bytes().to_vec());
proof_of_possessions.push(proof_of_possession.as_ref().to_vec());
sui_addresses.push(validator.sui_address());
network_addresses.push(validator.network_address());
Expand Down

0 comments on commit 06b88d2

Please sign in to comment.