Fix ss58 prefixes of Polkadot, Kusama and Westend used by relay (#1298)

* fix ss58 prefixes of Polkadot, Kusama and Westend

* fmt
This commit is contained in:
Svyatoslav Nikolsky
2022-01-31 14:44:04 +03:00
committed by Bastian Köcher
parent cb20c10bdb
commit c0f6509d40
3 changed files with 12 additions and 3 deletions
@@ -81,7 +81,10 @@ impl CliChain for Kusama {
type MessagePayload = ();
fn ss58_format() -> u16 {
42
sp_core::crypto::Ss58AddressFormat::from(
sp_core::crypto::Ss58AddressFormatRegistry::KusamaAccount,
)
.into()
}
fn encode_message(