Fixed transact

This commit is contained in:
obscuren 2014-08-20 13:36:32 +02:00
parent fb49e5565a
commit 245ffb1123
2 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ Rectangle {
onClicked: { onClicked: {
var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros; var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros;
var gasPrice = "10000000000000" 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) console.log(res)
} }
} }

View File

@ -26,7 +26,7 @@ ApplicationWindow {
function invokeFilterCallback(data, receiverSeed, callbackSeed) { function invokeFilterCallback(data, receiverSeed, callbackSeed) {
var messages = JSON.parse(data) var messages = JSON.parse(data)
// Signal handler // Signal handler
message(data, receiverSeed, callbackSeed); message(messages, receiverSeed, callbackSeed);
} }
TextField { TextField {