Skip to content

Commit

Permalink
chore: improve docs and import
Browse files Browse the repository at this point in the history
  • Loading branch information
dadamu committed Oct 17, 2022
1 parent edf10b3 commit 552281a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion network/gql/client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package gql

import graphql "github.com/hasura/go-graphql-client"
import "github.com/hasura/go-graphql-client"

// Client represents a GraphQL client
type Client struct {
Expand Down
2 changes: 1 addition & 1 deletion network/gql/read.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

graphql "github.com/hasura/go-graphql-client"
"github.com/hasura/go-graphql-client"

"github.com/desmos-labs/hephaestus/types"
)
Expand Down
1 change: 1 addition & 0 deletions utils/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"github.com/tendermint/tendermint/crypto/secp256k1"
)

// GetSignatureData returns the signature data from the given JSON string
func GetSignatureData(jsonData string) (*signcmd.SignatureData, error) {
var signatureData signcmd.SignatureData
err := json.Unmarshal([]byte(jsonData), &signatureData)
Expand Down

0 comments on commit 552281a

Please sign in to comment.