forked from cerc-io/plugeth
Fixed transact
This commit is contained in:
parent
fb49e5565a
commit
245ffb1123
@ -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)
|
||||
}
|
||||
}
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user