Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/wemixarchive/go-wemix into d…
Browse files Browse the repository at this point in the history
…evnet
  • Loading branch information
egonspace committed Jun 4, 2024
2 parents 7f37bf0 + 9d16011 commit f671e8e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1041,6 +1041,9 @@ func setRandomBootstrapNodes(ctx *cli.Context, bootnodes []string) []string {
}
// select random bootnodes
selectcount := params.BootnodeCount
if selectcount > bootnodeslen {
selectcount = bootnodeslen
}
urls := make([]string, selectcount)
tempnode := make([]string, bootnodeslen)
copy(tempnode, bootnodes)
Expand Down

0 comments on commit f671e8e

Please sign in to comment.