mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
cmd/devp2p: make it build again
This commit is contained in:
parent
8cad8737b6
commit
fdf704aa01
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ func discv4RandomNodes(ctx *cli.Context) error {
|
||||||
}
|
}
|
||||||
defer disc.Close()
|
defer disc.Close()
|
||||||
|
|
||||||
it := disc.RandomNodes()
|
it := disc.RandomNodes(nil)
|
||||||
for it.Next() {
|
for it.Next() {
|
||||||
fmt.Println(it.Node())
|
fmt.Println(it.Node())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue