mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
Update bindv2.go
This commit is contained in:
parent
2e5cd21edf
commit
34d9478508
1 changed files with 1 additions and 1 deletions
|
|
@ -276,7 +276,7 @@ func parseLibraryDeps(unlinkedCode string) (res []string) {
|
|||
// onItem on each. If the callback returns an error, iteration is halted and
|
||||
// the error is returned from iterSorted.
|
||||
func iterSorted[V any](inp map[string]V, onItem func(string, V) error) error {
|
||||
var sortedKeys []string
|
||||
sortedKeys := make([]string, 0, len(inp))
|
||||
for key := range inp {
|
||||
sortedKeys = append(sortedKeys, key)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue