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 {