Skip to content

Commit

Permalink
Fix (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
goran-ethernal authored Jun 13, 2023
1 parent 470ffb8 commit cbbcc10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/genesis/polybft_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ func (p *genesisParams) getValidatorAccounts(
MultiAddr: parts[0],
Address: addr,
BlsKey: trimmedBLSKey,
Balance: big.NewInt(0),
Balance: getPremineAmount(addr, premineBalances, big.NewInt(0)),
Stake: big.NewInt(0),
}
}
Expand All @@ -524,7 +524,7 @@ func (p *genesisParams) getValidatorAccounts(
}

for _, v := range validators {
v.Balance = big.NewInt(0)
v.Balance = getPremineAmount(v.Address, premineBalances, big.NewInt(0))
v.Stake = big.NewInt(0)
}

Expand Down

0 comments on commit cbbcc10

Please sign in to comment.