From bdaf553c2825dd05cde89db60f64bf2915ac8e8e Mon Sep 17 00:00:00 2001 From: yann300 Date: Tue, 19 Dec 2017 14:50:35 +0100 Subject: [PATCH] add SELFDESTRUCT --- remix-lib/src/web3Provider/web3VmProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remix-lib/src/web3Provider/web3VmProvider.js b/remix-lib/src/web3Provider/web3VmProvider.js index c0e70498a5..6a064bcdf2 100644 --- a/remix-lib/src/web3Provider/web3VmProvider.js +++ b/remix-lib/src/web3Provider/web3VmProvider.js @@ -98,7 +98,7 @@ web3VmProvider.prototype.txWillProcess = function (self, data) { web3VmProvider.prototype.txProcessed = function (self, data) { var lastOp = self.vmTraces[self.processingHash].structLogs[self.processingIndex - 1] if (lastOp) { - lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' + lastOp.error = lastOp.op !== 'RETURN' && lastOp.op !== 'STOP' && lastOp.op !== 'SELFDESTRUCT' } self.vmTraces[self.processingHash].gas = '0x' + data.gasUsed.toString(16)