|
|
|
@ -53,6 +53,10 @@ type JSEthereum struct { |
|
|
|
|
vm *otto.Otto |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (self *JSEthereum) GetBlock(hash string) otto.Value { |
|
|
|
|
return self.toVal(self.PEthereum.GetBlock(hash)) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
func (self *JSEthereum) GetKey() otto.Value { |
|
|
|
|
return self.toVal(self.PEthereum.GetKey()) |
|
|
|
|
} |
|
|
|
|