From 859d9def234737c102cbb31e227e52bcbd8de58b Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 25 Sep 2023 09:13:03 +0200 Subject: [PATCH] fix: improve ErrNoStateAccess message --- nodebuilder/state/stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodebuilder/state/stub.go b/nodebuilder/state/stub.go index 94326fed5e..8d17d651dd 100644 --- a/nodebuilder/state/stub.go +++ b/nodebuilder/state/stub.go @@ -10,7 +10,7 @@ import ( "github.com/celestiaorg/celestia-node/state" ) -var ErrNoStateAccess = errors.New("node is running without state access") +var ErrNoStateAccess = errors.New("node is running without state access. run with --core.ip to resolve") // stubbedStateModule provides a stub for the state module to return // errors when state endpoints are accessed without a running connection