mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Rename to Accounts
This commit is contained in:
parent
8c890be561
commit
aef792b636
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue