Expand cluster-sm/local testnet to 4 validators for BFT where f=1

This commit is contained in:
Luke Parker
2023-08-06 13:42:16 -04:00
parent cee788eac3
commit 0dd8aed134
5 changed files with 10 additions and 7 deletions

View File

@@ -36,7 +36,7 @@ pub fn coordinator_instance(
("DB_PATH".to_string(), "./coordinator-db".to_string()),
("SERAI_KEY".to_string(), {
use serai_client::primitives::insecure_pair_from_name;
hex::encode(insecure_pair_from_name(name).as_ref().secret.to_bytes()[.. 32].as_ref())
hex::encode(&insecure_pair_from_name(name).as_ref().secret.to_bytes()[.. 32])
}),
]
.into(),