aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 17:55:33 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-07 17:55:33 +0800
commite5fba8fd7025bb45a88a19c1bbef80db5bd3b688 (patch)
treeb17726c936fcb695e26b2a145b5d423b8556871b /xeth/xeth.go
parent916d1554675974adb92af4046e1b04ad3b26dca3 (diff)
parent37c1a8f69de44827a60296342189b6719a49dbc3 (diff)
downloaddexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.gz
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.bz2
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.lz
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.xz
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.tar.zst
dexon-e5fba8fd7025bb45a88a19c1bbef80db5bd3b688.zip
Merge pull request #1428 from obscuren/coinbase-fixes
cmd,eth,rpc,tests: default coinbase
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index a3923436a..8e3200ad5 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -476,15 +476,6 @@ func (self *XEth) IsContract(address string) bool {
return len(self.State().SafeGet(address).Code()) > 0
}
-func (self *XEth) SecretToAddress(key string) string {
- pair, err := crypto.NewKeyPairFromSec(common.FromHex(key))
- if err != nil {
- return ""
- }
-
- return common.ToHex(pair.Address())
-}
-
func (self *XEth) UninstallFilter(id int) bool {
defer self.filterManager.UninstallFilter(id)