fix: bug in the wallet choice

This commit is contained in:
Adrien Waksberg 2019-07-22 22:39:27 +02:00
parent f155e77c5f
commit 18f944b4d9
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- Fix new line with clear input - Fix new line with clear input
- Replace sha1 to sha512 in pbkdf2.Key function - Replace sha1 to sha512 in pbkdf2.Key function
- Replace default config directory - Replace default config directory
- Fix bug in the wallet choice
## v1.0.0 - 2019-07-12 ## v1.0.0 - 2019-07-12

View file

@ -133,7 +133,7 @@ func (c *Cli) loadWallet() {
c.Wallet = Wallet{ c.Wallet = Wallet{
Name: walletName, 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, Passphrase: passphrase,
} }