From 389d114191502b4ea878a0805c919aa3fd1ad725 Mon Sep 17 00:00:00 2001 From: ioedeveloper Date: Tue, 6 Jul 2021 15:20:49 +0100 Subject: [PATCH] Fixed linting --- libs/remix-lib/src/execution/txExecution.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/remix-lib/src/execution/txExecution.ts b/libs/remix-lib/src/execution/txExecution.ts index a816a1f91f..f7e34333ee 100644 --- a/libs/remix-lib/src/execution/txExecution.ts +++ b/libs/remix-lib/src/execution/txExecution.ts @@ -114,7 +114,7 @@ export function checkVMError (execResult, abi, contract) { const functionSignature = Object.keys(fn.functions)[0] // we check in the 'devdoc' if there's a developer documentation for this error try { - devdoc = (contract.object.devdoc.errors && contract.object.devdoc.errors[functionSignature][0]) || {} + devdoc = (contract.object.devdoc.errors && contract.object.devdoc.errors[functionSignature][0]) || {} } catch (e) { console.error(e.message) } @@ -130,7 +130,7 @@ export function checkVMError (execResult, abi, contract) { for (const input of functionDesc.inputs) { const inputKey = input.name || inputIndex const v = decodedCustomErrorInputs[inputKey] - + decodedCustomErrorInputsClean[inputKey] = { value: v.toString ? v.toString() : v }