Skip to content

Commit

Permalink
Merge pull request #6174 from multiversx/linter-fix
Browse files Browse the repository at this point in the history
Linter fix
  • Loading branch information
axenteoctavian committed May 16, 2024
2 parents 85cb54b + 9ad2c6e commit e1f9dfd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions genesis/parsing/accountsParser.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,7 @@ func (ap *accountsParser) checkForDuplicates() error {
// InitialAccounts return the initial accounts contained by this parser
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 e1f9dfd

Please sign in to comment.