From 739d2cedfca1d3a61a9fbc15339ac5cc2839aeb0 Mon Sep 17 00:00:00 2001 From: Kosta Korenkov Date: Thu, 18 Jul 2019 10:06:49 +0300 Subject: [PATCH] fix: rethrow error from EVM (#295) --- src/tx/applyTx/checkSpendCond.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tx/applyTx/checkSpendCond.js b/src/tx/applyTx/checkSpendCond.js index 38fd62d7..8bbe3c3f 100644 --- a/src/tx/applyTx/checkSpendCond.js +++ b/src/tx/applyTx/checkSpendCond.js @@ -407,6 +407,7 @@ module.exports = async (state, tx, bridgeState, nodeConfig = {}) => { }); } catch (err) { console.log(err); + throw err; } const logOuts = [];