aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/accounts.go
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/accounts.go')
-rw-r--r--mobile/accounts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/accounts.go b/mobile/accounts.go
index 47c3a5c21..621be4d7a 100644
--- a/mobile/accounts.go
+++ b/mobile/accounts.go
@@ -103,7 +103,7 @@ func (am *AccountManager) GetAccounts() *Accounts {
// DeleteAccount deletes the key matched by account if the passphrase is correct.
// If a contains no filename, the address must match a unique key.
func (am *AccountManager) DeleteAccount(account *Account, passphrase string) error {
- return am.manager.DeleteAccount(accounts.Account{
+ return am.manager.Delete(accounts.Account{
Address: account.account.Address,
File: account.account.File,
}, passphrase)