Skip to content

Commit

Permalink
fix keyring backend genesis show
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Dec 8, 2022
1 parent 8b53265 commit 6783acc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ignite/cmd/network_chain_show_genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/chaincmd"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/icons"
"github.com/ignite/cli/ignite/pkg/xos"
Expand Down Expand Up @@ -51,7 +52,11 @@ func networkChainShowGenesisHandler(cmd *cobra.Command, args []string) error {
return err
}

c, err := nb.Chain(networkchain.SourceLaunch(chainLaunch))
networkOptions := []networkchain.Option{
networkchain.WithKeyringBackend(chaincmd.KeyringBackendTest),
}

c, err := nb.Chain(networkchain.SourceLaunch(chainLaunch), networkOptions...)
if err != nil {
return err
}
Expand Down

0 comments on commit 6783acc

Please sign in to comment.