From 7380f793ac4293e3362134ee802042d895181984 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Thu, 27 May 2021 10:16:29 +0530 Subject: [PATCH] linting fix --- apps/remix-ide/src/blockchain/blockchain.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.js b/apps/remix-ide/src/blockchain/blockchain.js index 9b6a800088..6ba2674974 100644 --- a/apps/remix-ide/src/blockchain/blockchain.js +++ b/apps/remix-ide/src/blockchain/blockchain.js @@ -1,3 +1,4 @@ +import { toBuffer } from 'ethereumjs-util' const remixLib = require('@remix-project/remix-lib') const txFormat = remixLib.execution.txFormat const txExecution = remixLib.execution.txExecution @@ -487,7 +488,7 @@ class Blockchain { } } } - + if (!isVM && tx && tx.useCall) { returnValue = toBuffer(txResult.result) }