aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 16:32:05 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-07-07 16:32:05 +0800
commit35cd355c14d9a5266a7d4b11127d25eb7f961494 (patch)
tree879c8d86b8865f733c73992e8c04c71d52152437 /xeth/xeth.go
parentd764bd058457cd9eb91d205d1ac187d40c4866d6 (diff)
downloaddexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar.gz
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar.bz2
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar.lz
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar.xz
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.tar.zst
dexon-35cd355c14d9a5266a7d4b11127d25eb7f961494.zip
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 f2295e6e1..54b049a26 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -504,15 +504,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)