erigon-pulse/cmd/devnet/requests/admin.go
Mark Holt c51573f333
Bor eth event flow (#8068)
Implemented polygon->eth flow
2023-08-25 12:19:39 +01:00

16 lines
292 B
Go

package requests
import (
"github.com/ledgerwatch/erigon/p2p"
)
func (reqGen *requestGenerator) AdminNodeInfo() (p2p.NodeInfo, error) {
var result p2p.NodeInfo
if err := reqGen.callCli(&result, Methods.AdminNodeInfo); err != nil {
return p2p.NodeInfo{}, err
}
return result, nil
}