From 5e3c68eabcbec694a52705975d6b5b169bfdbd2c Mon Sep 17 00:00:00 2001 From: Kiel barry Date: Tue, 1 May 2018 09:42:24 -0700 Subject: [PATCH] eth/*: golint updates for this or self warning, pr updated per feedback --- eth/backend.go | 2 +- eth/handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index 425301b5b6..a26ccd044a 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -325,7 +325,7 @@ func (s *Ethereum) Etherbase() (eb common.Address, err error) { return common.Address{}, fmt.Errorf("etherbase must be explicitly specified") } -// SetEtherbase in js console via admin interface or wrapper from cli flags +// SetEtherbase sets the mining reward address. func (s *Ethereum) SetEtherbase(etherbase common.Address) { s.lock.Lock() s.etherbase = etherbase diff --git a/eth/handler.go b/eth/handler.go index 2eee483ce9..c8f7e13f16 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -769,4 +769,4 @@ func (pm *ProtocolManager) NodeInfo() *NodeInfo { Config: pm.blockchain.Config(), Head: currentBlock.Hash(), } -} \ No newline at end of file +}