Skip to content

Commit

Permalink
Linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed May 16, 2024
1 parent e17256f commit 3e20cc8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions genesis/parsing/accountsParser.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,7 @@ func (ap *accountsParser) checkForDuplicates() error {
func (ap *accountsParser) InitialAccounts() []genesis.InitialAccountHandler {
accounts := make([]genesis.InitialAccountHandler, len(ap.initialAccounts))

for idx, ia := range ap.initialAccounts {
accounts[idx] = ia
}
copy(accounts, ap.initialAccounts)

return accounts
}
Expand Down

0 comments on commit 3e20cc8

Please sign in to comment.