Update node data path in get status GQL resolver
All checks were successful
Build / build (pull_request) Successful in 2m12s
Lint / Run golangci-lint (pull_request) Successful in 4m32s
E2E Tests / test-e2e (pull_request) Successful in 3m19s
Integration Tests / test-integration (pull_request) Successful in 2m18s
Unit Tests / test-unit (pull_request) Successful in 2m10s
Tests / sdk_tests (pull_request) Successful in 8m51s

This commit is contained in:
Prathamesh Musale 2024-03-13 10:45:42 +05:30
parent 70947d1e4f
commit d5ebb107ce

View File

@ -10,8 +10,8 @@ import (
"github.com/cosmos/cosmos-sdk/client"
)
// NodeDataPath is the path to the laconicd data folder.
var NodeDataPath = os.ExpandEnv("$HOME/.laconicd/data")
// NodeDataPath is the path to the laconic2d data folder.
var NodeDataPath = os.ExpandEnv("$HOME/.laconic2d/data")
func getStatusInfo(client client.Context) (*NodeInfo, *SyncInfo, *ValidatorInfo, error) {
nodeClient, err := client.GetNode()