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")
}
// 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

View file

@ -769,4 +769,4 @@ func (pm *ProtocolManager) NodeInfo() *NodeInfo {
Config: pm.blockchain.Config(),
Head: currentBlock.Hash(),
}
}
}