eth/*: golint updates for this or self warning, pr updated per feedback

This commit is contained in:
Kiel barry 2018-05-01 09:42:24 -07:00
parent 6505abf73d
commit 5e3c68eabc
2 changed files with 2 additions and 2 deletions

View file

@ -325,7 +325,7 @@ func (s *Ethereum) Etherbase() (eb common.Address, err error) {
return common.Address{}, fmt.Errorf("etherbase must be explicitly specified") 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) { func (s *Ethereum) SetEtherbase(etherbase common.Address) {
s.lock.Lock() s.lock.Lock()
s.etherbase = etherbase s.etherbase = etherbase