aboutsummaryrefslogtreecommitdiffstats
path: root/mobile
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-01-17 19:25:36 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-01-17 19:25:36 +0800
commit230530f5ea71f45c5d89f62126e60d24635136d5 (patch)
treee1f64e3903b85ac8be400bdcec94b5cf9bbc0a24 /mobile
parent26d385c18b5eb003d9a69ff618c78acbe594db44 (diff)
downloadgo-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar.gz
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar.bz2
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar.lz
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar.xz
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.tar.zst
go-tangerine-230530f5ea71f45c5d89f62126e60d24635136d5.zip
accounts, mobile: make account manager API a bit more uniform
Diffstat (limited to 'mobile')
-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)