From 92b2c568c2286bee2ae7622255250952a2ea0810 Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:27:53 -0600 Subject: [PATCH] Revert "les, eth: fix typo in comment (#27369)" This reverts commit c56e60b850927ce8b33e929cc344ee035e00b35d. --- eth/api.go | 4 ++-- les/client.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eth/api.go b/eth/api.go index 44e934fd04..aa603d6fd9 100644 --- a/eth/api.go +++ b/eth/api.go @@ -31,12 +31,12 @@ func NewEthereumAPI(e *Ethereum) *EthereumAPI { return &EthereumAPI{e} } -// Etherbase is the address that mining rewards will be sent to. +// Etherbase is the address that mining rewards will be send to. func (api *EthereumAPI) Etherbase() (common.Address, error) { return api.e.Etherbase() } -// Coinbase is the address that mining rewards will be sent to (alias for Etherbase). +// Coinbase is the address that mining rewards will be send to (alias for Etherbase). func (api *EthereumAPI) Coinbase() (common.Address, error) { return api.Etherbase() } diff --git a/les/client.go b/les/client.go index 0072eb8a1a..bd6667429e 100644 --- a/les/client.go +++ b/les/client.go @@ -266,12 +266,12 @@ func (s *LightEthereum) prenegQuery(n *enode.Node) int { type LightDummyAPI struct{} -// Etherbase is the address that mining rewards will be sent to +// Etherbase is the address that mining rewards will be send to func (s *LightDummyAPI) Etherbase() (common.Address, error) { return common.Address{}, errors.New("mining is not supported in light mode") } -// Coinbase is the address that mining rewards will be sent to (alias for Etherbase) +// Coinbase is the address that mining rewards will be send to (alias for Etherbase) func (s *LightDummyAPI) Coinbase() (common.Address, error) { return common.Address{}, errors.New("mining is not supported in light mode") }