mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-10 13:01:21 +00:00
a8ec9eb471
Co-authored-by: Alex Sharp <alexsharp@Alexs-MacBook-Pro-2.local>
16 lines
340 B
Go
16 lines
340 B
Go
package commands
|
|
|
|
import (
|
|
"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 {
|
|
logger.Error("FAILURE", "error", err)
|
|
}
|
|
return err
|
|
}
|