mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 21:11:20 +00:00
c408281d3b
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
18 lines
345 B
Go
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
|
|
}
|