Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

Commit

Permalink
fix balance units in chain_spec.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
weezy20 authored Jan 5, 2024
1 parent 805c3b0 commit cbe5eef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub mod devnet {
let alice = get_from_seed::<sr25519::Public>("Alice");
let bob = get_from_seed::<sr25519::Public>("Bob");
serde_json::json!( {
"balances": BalancesConfig { balances : endowed_accounts.iter().cloned().map(|k| (k, 1 << 60)).collect::<Vec<_>>() },
"balances": BalancesConfig { balances : endowed_accounts.iter().cloned().map(|k| (k, 1u128 << 60)).collect::<Vec<_>>() },
// Configure two assets ALT1 & ALT2 with two owners, alice and bob respectively
"assets": {
"assets": vec![
Expand Down Expand Up @@ -396,7 +396,7 @@ pub mod mainnet {
.cloned()
// Fund sudo key for sending transactions
.chain(std::iter::once(root_key.clone()))
.map(|k| (k, 1 << 60))
.map(|k| (k, 1u128 << 60))
.collect::<Vec<_>>(),
},
// Configure two assets ALT1 & ALT2 with two owners, alice and bob respectively
Expand Down

0 comments on commit cbe5eef

Please sign in to comment.