I am failing to make ethereal respect the passphrase setting in the configuration file. It does respect the debug: true statement however, which I infer from ethereal printing Loading configuration file ./test.json. Here is a minimal test case:
$ ethereal version
2.8.7
$ echo '{ "passphrase": "hello", "debug": true }' > test.json
$ ethereal account keys --address="0xblabla" --config=./test.json
Loaded configuration file ./test.json
--privatekey or both of --address and --passphrase are required
Could it be that cmd.Flags().Lookup("passphrase") in root.go fails, and the viper.BindPFlag statement never gets executed?
I am failing to make ethereal respect the
passphrase
setting in the configuration file. It does respect thedebug: true
statement however, which I infer from ethereal printingLoading configuration file ./test.json
. Here is a minimal test case:Could it be that
cmd.Flags().Lookup("passphrase")
in root.go fails, and the viper.BindPFlag statement never gets executed?Thanks!