diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-09 00:24:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-09 00:24:28 +0800 |
commit | f59f515defa5735c59b3bae8a44844678adf1a2d (patch) | |
tree | d1d54c08b51effcd2e36b3133064eaba8ef72960 /ethereal/assets | |
parent | 71defc11fa01b113e26da876388f7a50f314d7fb (diff) | |
download | dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.gz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.bz2 dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.lz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.xz dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.tar.zst dexon-f59f515defa5735c59b3bae8a44844678adf1a2d.zip |
Cleanup
Diffstat (limited to 'ethereal/assets')
-rw-r--r-- | ethereal/assets/qml/newTransaction/_new_contract.qml | 2 | ||||
-rw-r--r-- | ethereal/assets/qml/newTransaction/_simple_send.qml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ethereal/assets/qml/newTransaction/_new_contract.qml b/ethereal/assets/qml/newTransaction/_new_contract.qml index 0794d3dcd..f6ed77fb6 100644 --- a/ethereal/assets/qml/newTransaction/_new_contract.qml +++ b/ethereal/assets/qml/newTransaction/_new_contract.qml @@ -150,7 +150,7 @@ Component { text: "Send" onClicked: { //this.enabled = false - var res = eth.createTx(txFuelRecipient.text, txValue.text, txGas.text, txGasPrice.text, codeView.text) + var res = eth.create(txFuelRecipient.text, txValue.text, txGas.text, txGasPrice.text, codeView.text) if(res[1]) { txResult.text = "Your contract <b>could not</b> be send over the network:\n<b>" txResult.text += res[1].error() diff --git a/ethereal/assets/qml/newTransaction/_simple_send.qml b/ethereal/assets/qml/newTransaction/_simple_send.qml index d460797ea..12420c15a 100644 --- a/ethereal/assets/qml/newTransaction/_simple_send.qml +++ b/ethereal/assets/qml/newTransaction/_simple_send.qml @@ -77,12 +77,12 @@ Component { text: "Send" onClicked: { //this.enabled = false - var res = eth.createTx(txSimpleRecipient.text, txSimpleValue.text,"","","") + var res = eth.transact(txSimpleRecipient.text, txSimpleValue.text,"","","") if(res[1]) { txSimpleResult.text = "There has been an error broadcasting your transaction:" + res[1].error() } else { txSimpleResult.text = "Your transaction has been broadcasted over the network.\nYour transaction id is:" - txSimpleOutput.text = res[0] + txSimpleOutput.text = res[0].hash this.visible = false simpleSendColumn.state = "DONE" } |