diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-04 18:40:23 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-07-04 18:40:23 +0800 |
commit | 9bb575be7db85f967771018a915fbc4e80345ee2 (patch) | |
tree | e9af69218da8c63cea625131432d257f5dc56a9b /xeth | |
parent | 6f69b4d61f1278ea2d9351667512a1202403eaff (diff) | |
parent | 1959346793bdee469f68841843dd383cf801aba1 (diff) | |
download | dexon-9bb575be7db85f967771018a915fbc4e80345ee2.tar.gz dexon-9bb575be7db85f967771018a915fbc4e80345ee2.tar.zst dexon-9bb575be7db85f967771018a915fbc4e80345ee2.zip |
Merge pull request #1283 from ethersphere/frontier/accounts
Account management improvements
Diffstat (limited to 'xeth')
-rw-r--r-- | xeth/xeth.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index cbc8dbbde..1cec82e5e 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -467,7 +467,10 @@ func (self *XEth) IsListening() bool { } func (self *XEth) Coinbase() string { - eb, _ := self.backend.Etherbase() + eb, err := self.backend.Etherbase() + if err != nil { + return "0x0" + } return eb.Hex() } |