diff options
author | Maran <maran.hidskes@gmail.com> | 2014-06-02 21:16:37 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-06-02 21:16:37 +0800 |
commit | a6f4eef1dadee9d8caa9b0ac20e2ce4a3034a100 (patch) | |
tree | ca1602b7945cc32f3a6b0008225f2767db29bb48 /ethereum | |
parent | 98811f11e5d7ccf6e053b46b9ca2ed897140ce47 (diff) | |
download | dexon-a6f4eef1dadee9d8caa9b0ac20e2ce4a3034a100.tar.gz dexon-a6f4eef1dadee9d8caa9b0ac20e2ce4a3034a100.tar.zst dexon-a6f4eef1dadee9d8caa9b0ac20e2ce4a3034a100.zip |
Added Peer Window
Diffstat (limited to 'ethereum')
-rw-r--r-- | ethereum/repl.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ethereum/repl.go b/ethereum/repl.go index 10f51675e..e59814154 100644 --- a/ethereum/repl.go +++ b/ethereum/repl.go @@ -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()) } |