diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ac0fab..bdeaddd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) - Fix new line with clear input - Replace sha1 to sha512 in pbkdf2.Key function - Replace default config directory +- Fix bug in the wallet choice ## v1.0.0 - 2019-07-12 diff --git a/gpm/cli.go b/gpm/cli.go index cad45b4..6eb3a0b 100644 --- a/gpm/cli.go +++ b/gpm/cli.go @@ -133,7 +133,7 @@ func (c *Cli) loadWallet() { c.Wallet = Wallet{ Name: walletName, - Path: fmt.Sprintf("%s/%s.gpm", c.Config.WalletDir, c.Config.WalletDefault), + Path: fmt.Sprintf("%s/%s.gpm", c.Config.WalletDir, walletName), Passphrase: passphrase, }