Merge pull request #580 from ethersphere/frontier/cli-key

settable etherbase
This commit is contained in:
Jeffrey Wilcke
2015-03-27 12:12:05 +01:00
5 changed files with 37 additions and 18 deletions

View File

@ -260,8 +260,8 @@ func (self *XEth) IsListening() bool {
}
func (self *XEth) Coinbase() string {
cb, _ := self.backend.AccountManager().Coinbase()
return common.ToHex(cb)
eb, _ := self.backend.Etherbase()
return eb.Hex()
}
func (self *XEth) NumberToHuman(balance string) string {