erigon-pulse/cmd/devnet/commands/request.go
ledgerwatch c408281d3b
[devnet] separate logging (#7556)
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
2023-05-20 21:57:32 +01:00

18 lines
345 B
Go

package commands
import (
"fmt"
"github.com/ledgerwatch/erigon/cmd/devnet/models"
"github.com/ledgerwatch/erigon/cmd/devnet/requests"
"github.com/ledgerwatch/log/v3"
)
func pingErigonRpc(logger log.Logger) error {
err := requests.PingErigonRpc(models.ReqId, logger)
if err != nil {
fmt.Printf("FAILURE => %v\n", err)
}
return err
}