mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
eth/*: golint updates for this or self warning, pr updated per feedback
This commit is contained in:
parent
6505abf73d
commit
5e3c68eabc
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -769,4 +769,4 @@ func (pm *ProtocolManager) NodeInfo() *NodeInfo {
|
|||
Config: pm.blockchain.Config(),
|
||||
Head: currentBlock.Hash(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue