From c18e804c3d7a1269a91e139a127274012033aedc Mon Sep 17 00:00:00 2001 From: Tsvetomir Dimitrov <tsvetomir@parity.io> Date: Mon, 14 Mar 2022 17:24:18 +0200 Subject: [PATCH] Fix units usage in `node/service/src/chain_spec.rs` (#5099) For clarity replace `DOT` with `WND` and `ROC` in `westend_testnet_genesis` and `rococo_testnet_genesis` functions. --- polkadot/node/service/src/chain_spec.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/polkadot/node/service/src/chain_spec.rs b/polkadot/node/service/src/chain_spec.rs index 803e4e102b3..f53013fe1e6 100644 --- a/polkadot/node/service/src/chain_spec.rs +++ b/polkadot/node/service/src/chain_spec.rs @@ -1447,8 +1447,8 @@ pub fn westend_testnet_genesis( ) -> westend::GenesisConfig { let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(testnet_accounts); - const ENDOWMENT: u128 = 1_000_000 * DOT; - const STASH: u128 = 100 * DOT; + const ENDOWMENT: u128 = 1_000_000 * WND; + const STASH: u128 = 100 * WND; westend::GenesisConfig { system: westend::SystemConfig { code: wasm_binary.to_vec() }, @@ -1528,7 +1528,7 @@ pub fn rococo_testnet_genesis( ) -> rococo_runtime::GenesisConfig { let endowed_accounts: Vec<AccountId> = endowed_accounts.unwrap_or_else(testnet_accounts); - const ENDOWMENT: u128 = 1_000_000 * DOT; + const ENDOWMENT: u128 = 1_000_000 * ROC; rococo_runtime::GenesisConfig { system: rococo_runtime::SystemConfig { code: wasm_binary.to_vec() }, -- GitLab