Added Peer Window

This commit is contained in:
Maran
2014-06-02 15:16:37 +02:00
parent 98811f11e5
commit a6f4eef1da
3 changed files with 64 additions and 2 deletions

View File

@ -66,6 +66,10 @@ func (self *JSEthereum) GetBlock(hash string) otto.Value {
return self.toVal(&JSBlock{self.PEthereum.GetBlock(hash), self})
}
func (self *JSEthereum) GetPeers() otto.Value {
return self.toVal(self.PEthereum.GetPeers())
}
func (self *JSEthereum) GetKey() otto.Value {
return self.toVal(self.PEthereum.GetKey())
}