diff options
author | obscuren <geffobscura@gmail.com> | 2014-08-20 19:36:32 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-08-20 19:36:32 +0800 |
commit | 245ffb1123b58bc63ee8eae6b5250001c4a427c8 (patch) | |
tree | 12fc21a8310174e047fc1039c1b9a14d320e73ec /ethereal | |
parent | fb49e5565ae7fe1d44180158aa982a96b7720fb5 (diff) | |
download | dexon-245ffb1123b58bc63ee8eae6b5250001c4a427c8.tar.gz dexon-245ffb1123b58bc63ee8eae6b5250001c4a427c8.tar.zst dexon-245ffb1123b58bc63ee8eae6b5250001c4a427c8.zip |
Fixed transact
Diffstat (limited to 'ethereal')
-rw-r--r-- | ethereal/assets/qml/views/wallet.qml | 2 | ||||
-rw-r--r-- | 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 9afb1f89e..b626ff678 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 122ee049e..d732f2ec8 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 { |