Commit 21836221 authored by yann300's avatar yann300

standard

parent dc10b21b
...@@ -188,7 +188,7 @@ function sendTransaction (sendTx, tx, pass, callback) { ...@@ -188,7 +188,7 @@ function sendTransaction (sendTx, tx, pass, callback) {
function run (self, tx, stamp, confirmationCb, gasEstimationForceSend, callback) { function run (self, tx, stamp, confirmationCb, gasEstimationForceSend, callback) {
if (!self.runAsync && Object.keys(self.pendingTxs).length) { if (!self.runAsync && Object.keys(self.pendingTxs).length) {
self.queusTxs.push({ tx, stamp, callback}) self.queusTxs.push({ tx, stamp, callback })
} else { } else {
self.pendingTxs[stamp] = tx self.pendingTxs[stamp] = tx
self.execute(tx, confirmationCb, gasEstimationForceSend, (error, result) => { self.execute(tx, confirmationCb, gasEstimationForceSend, (error, result) => {
......
...@@ -316,7 +316,8 @@ UniversalDApp.prototype.runTx = function (args, cb) { ...@@ -316,7 +316,8 @@ UniversalDApp.prototype.runTx = function (args, cb) {
The transaction execution will likely fail. Do you want to force sending? <br> The transaction execution will likely fail. Do you want to force sending? <br>
${msg} ${msg}
</div>`, </div>`,
{ label: 'Send Transaction', {
label: 'Send Transaction',
fn: () => { fn: () => {
continueTxExecution() 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