Skip to content

Commit

Permalink
Merge PR: fix the wrong flag of unlock-key filepath (#570)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhong Qiu <[email protected]>
Co-authored-by: KamiD <[email protected]>
  • Loading branch information
3 people authored Jan 21, 2021
1 parent da02e95 commit bdbde8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/rpc/namespaces/eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"sync"
"time"

cmserver "github.com/cosmos/cosmos-sdk/server"
"github.com/spf13/viper"

"github.com/okex/okexchain/app/crypto/ethsecp256k1"
Expand Down Expand Up @@ -94,7 +95,7 @@ func (api *PublicEthereumAPI) GetKeyringInfo() error {
keybase, err := keys.NewKeyring(
sdk.KeyringServiceName(),
viper.GetString(flags.FlagKeyringBackend),
viper.GetString(flags.FlagHome),
viper.GetString(cmserver.FlagUlockKeyHome),
api.clientCtx.Input,
hd.EthSecp256k1Options()...,
)
Expand Down

0 comments on commit bdbde8b

Please sign in to comment.