Fixed transact

pull/122/head
obscuren 10 years ago
parent fb49e5565a
commit 245ffb1123
  1. 2
      ethereal/assets/qml/views/wallet.qml
  2. 2
      ethereal/assets/qml/wallet.qml

@ -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)
} }
} }

@ -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 {

Loading…
Cancel
Save