mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts: improve comment
This commit is contained in:
parent
928b4bfba8
commit
9313c2f810
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ func (am *Manager) Wallets() []Wallet {
|
|||
return am.walletsNoLock()
|
||||
}
|
||||
|
||||
// Wallets without lock.
|
||||
// walletsNoLock returns all registered wallets. Callers must hold am.lock.
|
||||
func (am *Manager) walletsNoLock() []Wallet {
|
||||
cpy := make([]Wallet, len(am.wallets))
|
||||
copy(cpy, am.wallets)
|
||||
|
|
|
|||
Loading…
Reference in a new issue