Merge pull request #36 from deep-stack/ng-gql-get-status
Fix GQL query getStatus
This commit is contained in:
commit
de5fc87573
@ -2,15 +2,16 @@ package gql
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/cosmos/cosmos-sdk/client"
|
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/cosmos/cosmos-sdk/client"
|
||||||
)
|
)
|
||||||
|
|
||||||
// NodeDataPath is the path to the ethermintd data folder.
|
// NodeDataPath is the path to the chibaclonkd data folder.
|
||||||
var NodeDataPath = os.ExpandEnv("$HOME/.ethermintd/data")
|
var NodeDataPath = os.ExpandEnv("$HOME/.chibaclonkd/data")
|
||||||
|
|
||||||
func getStatusInfo(client client.Context) (*NodeInfo, *SyncInfo, *ValidatorInfo, error) {
|
func getStatusInfo(client client.Context) (*NodeInfo, *SyncInfo, *ValidatorInfo, error) {
|
||||||
nodeClient, err := client.GetNode()
|
nodeClient, err := client.GetNode()
|
||||||
|
Loading…
Reference in New Issue
Block a user