Commit 21836221 authored by yann300's avatar yann300

standard

parent dc10b21b
......@@ -188,7 +188,7 @@ function sendTransaction (sendTx, tx, pass, callback) {
function run (self, tx, stamp, confirmationCb, gasEstimationForceSend, callback) {
if (!self.runAsync && Object.keys(self.pendingTxs).length) {
self.queusTxs.push({ tx, stamp, callback})
self.queusTxs.push({ tx, stamp, callback })
} else {
self.pendingTxs[stamp] = tx
self.execute(tx, confirmationCb, gasEstimationForceSend, (error, result) => {
......
......@@ -316,15 +316,16 @@ UniversalDApp.prototype.runTx = function (args, cb) {
The transaction execution will likely fail. Do you want to force sending? <br>
${msg}
</div>`,
{ label: 'Send Transaction',
fn: () => {
continueTxExecution()
}}, {
label: 'Cancel Transaction',
{
label: 'Send Transaction',
fn: () => {
cancelCb()
}
})
continueTxExecution()
}}, {
label: 'Cancel Transaction',
fn: () => {
cancelCb()
}
})
} else {
continueTxExecution()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment