diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-17 20:09:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 20:09:29 +0800 |
commit | 2eefed84c9fc005eec1cb5e7d1a3593aab3e0537 (patch) | |
tree | e59b30ade99b2ffdb4b422b1c89c25621dcfc137 /mobile/accounts.go | |
parent | 17d92233d9e64b642fed9a992556f7ff7d6fda18 (diff) | |
parent | 230530f5ea71f45c5d89f62126e60d24635136d5 (diff) | |
download | dexon-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.go | 2 |
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) |