From e20e7c24c8ebd37785685663f1afe72f12b94dda Mon Sep 17 00:00:00 2001 From: nabarun Date: Tue, 26 Apr 2022 15:30:21 +0530 Subject: [PATCH] fix: GQL getStatus query --- gql/status.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gql/status.go b/gql/status.go index b774a0fc..26184415 100644 --- a/gql/status.go +++ b/gql/status.go @@ -2,15 +2,16 @@ package gql import ( "context" - "github.com/cosmos/cosmos-sdk/client" "os" "os/exec" "strconv" "strings" + + "github.com/cosmos/cosmos-sdk/client" ) -// NodeDataPath is the path to the ethermintd data folder. -var NodeDataPath = os.ExpandEnv("$HOME/.ethermintd/data") +// NodeDataPath is the path to the chibaclonkd data folder. +var NodeDataPath = os.ExpandEnv("$HOME/.chibaclonkd/data") func getStatusInfo(client client.Context) (*NodeInfo, *SyncInfo, *ValidatorInfo, error) { nodeClient, err := client.GetNode()