adapt xeth pkg to new backend. FIXME JSPeer peer info

This commit is contained in:
zelig
2014-12-14 18:09:33 +00:00
parent 76070b4674
commit 148de1c875
3 changed files with 30 additions and 39 deletions

View File

@ -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()
}