Skip to content

Commit

Permalink
chore: fixup
Browse files Browse the repository at this point in the history
Signed-off-by: moul <94029+moul@users.noreply.github.com>
  • Loading branch information
moul committed Oct 18, 2023
1 parent 3f2ce02 commit 99ed03e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tm2/pkg/crypto/keys/client/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"flag"
"fmt"

"github.com/gnolang/gno/gno.land/pkg/sdk/vm"
"github.com/gnolang/gno/tm2/pkg/amino"
"github.com/gnolang/gno/tm2/pkg/commands"
"github.com/gnolang/gno/tm2/pkg/crypto/keys"
"github.com/gnolang/gno/tm2/pkg/errors"
"github.com/gnolang/gno/tm2/pkg/sdk/vm"
"github.com/gnolang/gno/tm2/pkg/std"
)

Expand All @@ -19,7 +19,7 @@ type execCfg struct {
source string
}

func newExecCmd(rootCfg *makeTxCfg) *commands.Command {
func newExecCmd(rootCfg *makeTxCfg, io *commands.IO) *commands.Command {
cfg := &execCfg{
rootCfg: rootCfg,
}
Expand All @@ -32,7 +32,7 @@ func newExecCmd(rootCfg *makeTxCfg) *commands.Command {
},
cfg,
func(_ context.Context, args []string) error {
return execExec(cfg, args, commands.NewDefaultIO())
return execExec(cfg, args, io)
},
)
}
Expand Down
2 changes: 1 addition & 1 deletion tm2/pkg/crypto/keys/client/maketx.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func newMakeTxCmd(rootCfg *baseCfg, io *commands.IO) *commands.Command {
newAddPkgCmd(cfg, io),
newSendCmd(cfg, io),
newCallCmd(cfg, io),
// newExecCmd(cfg, io),
newExecCmd(cfg, io),
)

return cmd
Expand Down

0 comments on commit 99ed03e

Please sign in to comment.