aboutsummaryrefslogtreecommitdiffstats
path: root/mobile/accounts.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-17 20:09:29 +0800
committerGitHub <noreply@github.com>2017-01-17 20:09:29 +0800
commit2eefed84c9fc005eec1cb5e7d1a3593aab3e0537 (patch)
treee59b30ade99b2ffdb4b422b1c89c25621dcfc137 /mobile/accounts.go
parent17d92233d9e64b642fed9a992556f7ff7d6fda18 (diff)
parent230530f5ea71f45c5d89f62126e60d24635136d5 (diff)
downloaddexon-2eefed84c9fc005eec1cb5e7d1a3593aab3e0537.tar.gz
dexon-2eefed84c9fc005eec1cb5e7d1a3593aab3e0537.tar.zst
dexon-2eefed84c9fc005eec1cb5e7d1a3593aab3e0537.zip
Merge pull request #3581 from karalabe/accounts-polish
accounts, mobile: make account manager API a bit more uniform
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)