diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-01-17 19:25:36 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-01-17 19:25:36 +0800 |
commit | 230530f5ea71f45c5d89f62126e60d24635136d5 (patch) | |
tree | e1f64e3903b85ac8be400bdcec94b5cf9bbc0a24 /mobile | |
parent | 26d385c18b5eb003d9a69ff618c78acbe594db44 (diff) | |
download | dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar.gz dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar.bz2 dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar.lz dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar.xz dexon-230530f5ea71f45c5d89f62126e60d24635136d5.tar.zst dexon-230530f5ea71f45c5d89f62126e60d24635136d5.zip |
accounts, mobile: make account manager API a bit more uniform
Diffstat (limited to 'mobile')
-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) |