From c3f5403b643f67df4061cb570f3b19ba95f83ba2 Mon Sep 17 00:00:00 2001 From: zelig Date: Thu, 9 Jul 2015 14:04:19 +0100 Subject: [PATCH] fix wallet key duplicate write - how did it get there? mystery. fixes #1411 --- accounts/account_manager.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/accounts/account_manager.go b/accounts/account_manager.go index c9e06261a8..2a9d9b0ae4 100644 --- a/accounts/account_manager.go +++ b/accounts/account_manager.go @@ -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 }