diff --git a/src/blockchain/blockchain.js b/src/blockchain/blockchain.js index fbc60426fe..7e6ef4c330 100644 --- a/src/blockchain/blockchain.js +++ b/src/blockchain/blockchain.js @@ -441,6 +441,10 @@ class Blockchain { } ], (error, txResult) => { + if (error) { + return cb(error) + } + const isVM = this.executionContext.isVM() if (isVM) { const vmError = txExecution.checkVMError(txResult)