mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
fix wallet key duplicate write - how did it get there? mystery. fixes #1411
This commit is contained in:
parent
589f1c85b9
commit
c3f5403b64
1 changed files with 0 additions and 3 deletions
|
|
@ -228,8 +228,5 @@ func (am *Manager) ImportPreSaleKey(keyJSON []byte, password string) (acc Accoun
|
|||
if err != nil {
|
||||
return
|
||||
}
|
||||
if err = am.keyStore.StoreKey(key, password); err != nil {
|
||||
return
|
||||
}
|
||||
return Account{Address: key.Address}, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue