Skip to content

Commit

Permalink
s/QueryChain/queryChain; unexport
Browse files Browse the repository at this point in the history
  • Loading branch information
harry-hov committed Jan 30, 2023
1 parent ef2191b commit 71ce21f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/gnolang/gnomod/fetch.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/gnolang/gno/pkgs/bft/rpc/client"
)

func QueryChain(qpath string, data []byte) (res *abci.ResponseQuery, err error) {
func queryChain(qpath string, data []byte) (res *abci.ResponseQuery, err error) {
opts2 := client.ABCIQueryOptions{
// Height: height, XXX
// Prove: false, XXX
Expand Down
2 changes: 1 addition & 1 deletion pkgs/gnolang/gnomod/gnomod.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func GetGnoModPath() (string, error) {
}

func writePackage(basePath, pkgPath string) error {
res, err := QueryChain(queryPathFile, []byte(pkgPath))
res, err := queryChain(queryPathFile, []byte(pkgPath))
if err != nil {
return fmt.Errorf("makeReq gno.mod: %s", err)
}
Expand Down

0 comments on commit 71ce21f

Please sign in to comment.