Skip to content

Commit

Permalink
chore: switch default keyring backend to 'file'
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulghangas committed Dec 20, 2022
1 parent 0d9cbb1 commit 7bb4bba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cmd/celestia-appd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,16 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig encoding.Config) {

server.AddCommands(rootCmd, app.DefaultNodeHome, NewAppServer, createAppAndExport, addModuleInitFlags)

// set the default keyring backend to `file`
keybase := keys.Commands(app.DefaultNodeHome)
keybase.Flag(flags.FlagKeyringBackend).DefValue = "file"

// add keybase, auxiliary RPC, query, and tx child commands
rootCmd.AddCommand(
rpc.StatusCommand(),
queryCommand(),
txCommand(),
keys.Commands(app.DefaultNodeHome),
keybase,
)
}

Expand Down

0 comments on commit 7bb4bba

Please sign in to comment.