aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-02-13 22:35:54 +0800
committerobscuren <geffobscura@gmail.com>2015-02-13 22:35:54 +0800
commit76fa75b39439e6c8c83ebc03fb32aa615227cc44 (patch)
tree9b755296ae96dd5e4ced28d6de4d5abfdeb33915 /xeth
parent75d164037fb9bbf75def7c5501727fd634ef124f (diff)
parent32a9c0ca809508c1648b8f44f3e09725af7a80d3 (diff)
downloadgo-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.gz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.bz2
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.lz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.xz
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.tar.zst
go-tangerine-76fa75b39439e6c8c83ebc03fb32aa615227cc44.zip
wip
Diffstat (limited to 'xeth')
-rw-r--r--xeth/types.go2
-rw-r--r--xeth/xeth.go1
2 files changed, 1 insertions, 2 deletions
diff --git a/xeth/types.go b/xeth/types.go
index 1bab1e1b3..b13317b03 100644
--- a/xeth/types.go
+++ b/xeth/types.go
@@ -215,7 +215,7 @@ func NewPeer(peer *p2p.Peer) *Peer {
return &Peer{
ref: peer,
Ip: fmt.Sprintf("%v", peer.RemoteAddr()),
- Version: fmt.Sprintf("%v", peer.Identity()),
+ Version: fmt.Sprintf("%v", peer.ID()),
Caps: fmt.Sprintf("%v", caps),
}
}
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 4098daf98..75d83f80b 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -31,7 +31,6 @@ type Backend interface {
IsListening() bool
Peers() []*p2p.Peer
KeyManager() *crypto.KeyManager
- ClientIdentity() p2p.ClientIdentity
Db() ethutil.Database
EventMux() *event.TypeMux
Whisper() *whisper.Whisper