aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/world.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-12-15 02:09:33 +0800
committerzelig <viktor.tron@gmail.com>2014-12-15 04:27:06 +0800
commit148de1c8757413f171dbf2fd3e8e5a5976eb7dc9 (patch)
tree062259762df4110462f3782fb8ccde8b801a5dfc /xeth/world.go
parent76070b46742338f354ab47a2c5a202e808daae23 (diff)
downloaddexon-148de1c8757413f171dbf2fd3e8e5a5976eb7dc9.tar.gz
dexon-148de1c8757413f171dbf2fd3e8e5a5976eb7dc9.tar.zst
dexon-148de1c8757413f171dbf2fd3e8e5a5976eb7dc9.zip
adapt xeth pkg to new backend. FIXME JSPeer peer info
Diffstat (limited to 'xeth/world.go')
-rw-r--r--xeth/world.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/xeth/world.go b/xeth/world.go
index 956ef1e15..008a08423 100644
--- a/xeth/world.go
+++ b/xeth/world.go
@@ -1,8 +1,7 @@
package xeth
import (
- "container/list"
-
+ "github.com/ethereum/go-ethereum/p2p"
"github.com/ethereum/go-ethereum/state"
)
@@ -55,7 +54,7 @@ func (self *World) IsListening() bool {
return self.pipe.obj.IsListening()
}
-func (self *World) Peers() *list.List {
+func (self *World) Peers() []*p2p.Peer {
return self.pipe.obj.Peers()
}