We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de42f51 commit 5c54265Copy full SHA for 5c54265
node/src/transition_frontier/genesis/transition_frontier_genesis_config.rs
@@ -429,7 +429,7 @@ impl GenesisConfig {
429
account
430
}
431
432
- let mut accounts = Vec::new();
+ let mut accounts = genesis_account_iter().map(Ok).collect::<Vec<_>>();
433
434
// Process block producers and their delegators
435
for (bp_balance, delegators) in block_producers {
@@ -476,11 +476,6 @@ impl GenesisConfig {
476
477
478
479
- // Add genesis accounts
480
- for genesis_account in genesis_account_iter() {
481
- accounts.push(Ok(genesis_account));
482
- }
483
-
484
Self::build_ledger_from_accounts(accounts)
485
486
0 commit comments