From 9d0ca263e81d1c89275d759df5390fdddd82e103 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Thu, 8 Aug 2019 10:58:51 +0200 Subject: [PATCH] Rename to AllAccounts --- internal/ethapi/api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index e2293cd34a..e5d1e4b4ea 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -190,7 +190,7 @@ func NewPublicAccountAPI(am *accounts.Manager) *PublicAccountAPI { // Accounts returns the collection of accounts this node manages func (s *PublicAccountAPI) Accounts() []common.Address { - return s.am.AllAccounts() + return s.am.Accounts() } // PrivateAccountAPI provides an API to access accounts managed by this node. @@ -213,7 +213,7 @@ func NewPrivateAccountAPI(b Backend, nonceLock *AddrLocker) *PrivateAccountAPI { // ListAccounts will return a list of addresses for accounts this node manages. func (s *PrivateAccountAPI) ListAccounts() []common.Address { - return s.am.AllAccounts() + return s.am.Accounts() } // rawWallet is a JSON representation of an accounts.Wallet interface, with its