mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 22:26:30 +00:00
242c85cd6a
Both functions `DeleteAccount` and `AddMigratedKeyPair` require password to be provided in order to delete account from the keystore properly (removing account from the cache and deleting corresponding local keystore file). Password parameter can be also an empty string, since there are cases when an account is not added to the keystore (in case of keycard account), so we have nothing to delete.