aboutsummaryrefslogtreecommitdiffstats
path: root/javascript/types.go
diff options
context:
space:
mode:
Diffstat (limited to 'javascript/types.go')
-rw-r--r--javascript/types.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/javascript/types.go b/javascript/types.go
index 3921f4843..5f47c1735 100644
--- a/javascript/types.go
+++ b/javascript/types.go
@@ -70,8 +70,8 @@ func (self *JSEthereum) GetStateObject(addr string) otto.Value {
return self.toVal(&JSStateObject{self.XEth.State().SafeGet(addr), self})
}
-func (self *JSEthereum) Transact(key, recipient, valueStr, gasStr, gasPriceStr, dataStr string) otto.Value {
- r, err := self.XEth.Transact(recipient, valueStr, gasStr, gasPriceStr, dataStr)
+func (self *JSEthereum) Transact(fromStr, recipient, valueStr, gasStr, gasPriceStr, dataStr string) otto.Value {
+ r, err := self.XEth.Transact(fromStr, recipient, valueStr, gasStr, gasPriceStr, dataStr)
if err != nil {
fmt.Println(err)