diff --git a/node/src/chainspec/testnet.rs b/node/src/chainspec/testnet.rs index 334aa7aeb..639ef9efc 100644 --- a/node/src/chainspec/testnet.rs +++ b/node/src/chainspec/testnet.rs @@ -93,7 +93,7 @@ pub fn local_testnet_config(chain_id: u64) -> Result { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "tTNT".into()); properties.insert("tokenDecimals".into(), 18u32.into()); - properties.insert("ss58Format".into(), tangle_primitives::TESTNET_SS58_PREFIX.into()); + properties.insert("ss58Format".into(), 42.into()); Ok(ChainSpec::from_genesis( // Name @@ -151,7 +151,7 @@ pub fn tangle_testnet_config(chain_id: u64) -> Result { let mut properties = sc_chain_spec::Properties::new(); properties.insert("tokenSymbol".into(), "tTNT".into()); properties.insert("tokenDecimals".into(), 18u32.into()); - properties.insert("ss58Format".into(), tangle_primitives::TESTNET_SS58_PREFIX.into()); + properties.insert("ss58Format".into(), 42.into()); Ok(ChainSpec::from_genesis( "Tangle Testnet", diff --git a/runtime/testnet/src/lib.rs b/runtime/testnet/src/lib.rs index c2d053dac..9af39bbea 100644 --- a/runtime/testnet/src/lib.rs +++ b/runtime/testnet/src/lib.rs @@ -179,7 +179,7 @@ parameter_types! { ::with_sensible_defaults(MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO); pub BlockLength: frame_system::limits::BlockLength = frame_system::limits::BlockLength ::max_with_normal_ratio(MAXIMUM_BLOCK_LENGTH, NORMAL_DISPATCH_RATIO); - pub const SS58Prefix: u16 = tangle_primitives::TESTNET_SS58_PREFIX; + pub const SS58Prefix: u8 = 42; } /// Opaque types. These are used by the CLI to instantiate machinery that don't need to know