fix recursion, take into account error

pull/5370/head
Iuri Matias 5 years ago
parent 13b6748b81
commit 20ecdebe55
  1. 4
      src/blockchain/blockchain.js

@ -441,6 +441,10 @@ class Blockchain {
} }
], ],
(error, txResult) => { (error, txResult) => {
if (error) {
return cb(error)
}
const isVM = this.executionContext.isVM() const isVM = this.executionContext.isVM()
if (isVM) { if (isVM) {
const vmError = txExecution.checkVMError(txResult) const vmError = txExecution.checkVMError(txResult)

Loading…
Cancel
Save