Rename to Accounts

This commit is contained in:
Felix Lange 2019-08-08 10:57:56 +02:00 committed by GitHub
parent 8c890be561
commit aef792b636
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,8 +148,8 @@ func (am *Manager) Wallet(url string) (Wallet, error) {
return nil, ErrUnknownWallet return nil, ErrUnknownWallet
} }
// AllAccounts returns all account addresses of all wallets within the account manager // Accounts returns all account addresses of all wallets within the account manager
func (am *Manager) AllAccounts() []common.Address { func (am *Manager) Accounts() []common.Address {
am.lock.RLock() am.lock.RLock()
defer am.lock.RUnlock() defer am.lock.RUnlock()