Skip to content

Commit

Permalink
Update crates/subspace-node/src/chain_spec.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Nazar Mokrynskyi <[email protected]>
  • Loading branch information
dariolina and nazar-pc authored Oct 30, 2024
1 parent 4787359 commit 96f585b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/subspace-node/src/chain_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ struct GenesisDomainParams {
}

/// Genesis token balances allocations
pub const GENESIS_ALLOCATIONS: &str = include_str!("genesis_allocations.json");
const GENESIS_ALLOCATIONS: &str = include_str!("genesis_allocations.json");

#[derive(Deserialize)]
struct GenesisAllocation(AccountId, NonZeroU128);

pub fn get_genesis_allocations(contents: &str) -> Vec<(AccountId, Balance)> {
fn get_genesis_allocations(contents: &str) -> Vec<(AccountId, Balance)> {
let allocations: Vec<GenesisAllocation> =
serde_json::from_str(contents).expect("Failed to parse genesis allocations JSON");

Expand Down

0 comments on commit 96f585b

Please sign in to comment.