Skip to content

Commit c3f5403

Browse files
committed
fix wallet key duplicate write - how did it get there? mystery. fixes #1411
1 parent 589f1c8 commit c3f5403

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

accounts/account_manager.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,5 @@ func (am *Manager) ImportPreSaleKey(keyJSON []byte, password string) (acc Accoun
228228
if err != nil {
229229
return
230230
}
231-
if err = am.keyStore.StoreKey(key, password); err != nil {
232-
return
233-
}
234231
return Account{Address: key.Address}, nil
235232
}

0 commit comments

Comments
 (0)