From 245ffb1123b58bc63ee8eae6b5250001c4a427c8 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 20 Aug 2014 13:36:32 +0200 Subject: [PATCH] Fixed transact --- ethereal/assets/qml/views/wallet.qml | 2 +- ethereal/assets/qml/wallet.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ethereal/assets/qml/views/wallet.qml b/ethereal/assets/qml/views/wallet.qml index 9afb1f89e9..b626ff678f 100644 --- a/ethereal/assets/qml/views/wallet.qml +++ b/ethereal/assets/qml/views/wallet.qml @@ -125,7 +125,7 @@ Rectangle { onClicked: { var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros; var gasPrice = "10000000000000" - var res = eth.transact(eth.key().privateKey, txTo.text, value, "500", gasPrice, "") + var res = eth.transact({from: eth.key().privateKey, to: txTo.text, value: value, gas: "500", gasPrice: gasPrice}) console.log(res) } } diff --git a/ethereal/assets/qml/wallet.qml b/ethereal/assets/qml/wallet.qml index 122ee049e5..d732f2ec83 100644 --- a/ethereal/assets/qml/wallet.qml +++ b/ethereal/assets/qml/wallet.qml @@ -26,7 +26,7 @@ ApplicationWindow { function invokeFilterCallback(data, receiverSeed, callbackSeed) { var messages = JSON.parse(data) // Signal handler - message(data, receiverSeed, callbackSeed); + message(messages, receiverSeed, callbackSeed); } TextField {