Merge pull request #465 from ethereum/getter-bug

Fixed Uncaught Exception
useEther_5013
yann300 4 years ago committed by GitHub
commit 58b27d5b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-lib/src/execution/txRunner.js

@ -258,7 +258,7 @@ function run (self, tx, stamp, confirmationCb, gasEstimationForceSend, promptCb,
self.pendingTxs[stamp] = tx
self.execute(tx, confirmationCb, gasEstimationForceSend, promptCb, function(error, result) {
delete self.pendingTxs[stamp]
callback(error, result)
if (callback && typeof callback === 'function') callback(error, result)
if (self.queusTxs.length) {
const next = self.queusTxs.pop()
run(self, next.tx, next.stamp, next.callback)

Loading…
Cancel
Save