Commit a023d337 authored by Iuri Matias's avatar Iuri Matias

fix recursion, take into account error

parent 60ef7af9
...@@ -441,6 +441,10 @@ class Blockchain { ...@@ -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)
......
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