Skip to content

Commit 245ffb1

Browse files
committed
Fixed transact
1 parent fb49e55 commit 245ffb1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ethereal/assets/qml/views/wallet.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Rectangle {
125125
onClicked: {
126126
var value = txValue.text + denomModel.get(valueDenom.currentIndex).zeros;
127127
var gasPrice = "10000000000000"
128-
var res = eth.transact(eth.key().privateKey, txTo.text, value, "500", gasPrice, "")
128+
var res = eth.transact({from: eth.key().privateKey, to: txTo.text, value: value, gas: "500", gasPrice: gasPrice})
129129
console.log(res)
130130
}
131131
}

ethereal/assets/qml/wallet.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ ApplicationWindow {
2626
function invokeFilterCallback(data, receiverSeed, callbackSeed) {
2727
var messages = JSON.parse(data)
2828
// Signal handler
29-
message(data, receiverSeed, callbackSeed);
29+
message(messages, receiverSeed, callbackSeed);
3030
}
3131

3232
TextField {

0 commit comments

Comments
 (0)