From 896af8aca4d317f13e1ca92f27e8da95255f7c67 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 11 Nov 2020 11:45:50 +0100 Subject: [PATCH] fix typo --- apps/remix-ide/src/app/tabs/debugger-tab.js | 6 +++--- libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/remix-ide/src/app/tabs/debugger-tab.js b/apps/remix-ide/src/app/tabs/debugger-tab.js index 22bcd856dce..b6479bb6922 100644 --- a/apps/remix-ide/src/app/tabs/debugger-tab.js +++ b/apps/remix-ide/src/app/tabs/debugger-tab.js @@ -23,11 +23,11 @@ const profile = { class DebuggerTab extends ViewPlugin { - constructor (blockchain, editor, offsettolinecolumnconverter) { + constructor (blockchain, editor, offsetToLineColumnConverter) { super(profile) this.el = null this.editor = editor - this.offsetToLineColumnConverter = offsettolinecolumnconverter + this.offsetToLineColumnConverter = offsetToLineColumnConverter this.blockchain = blockchain this.debugHash = null this.removeHighlights = false @@ -112,7 +112,7 @@ class DebuggerTab extends ViewPlugin { const currentReceipt = await web3.eth.getTransactionReceipt(hash) const debug = new Debugger({ web3, - offsetToLineColumnConverter: this.offsettolinecolumnconverter, + offsetToLineColumnConverter: this.offsetToLineColumnConverter, compilationResult: async (address) => { try { return await this.fetchContractAndCompile(address, currentReceipt) diff --git a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx index bbf18bc6bb2..f99bd89698f 100644 --- a/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx +++ b/libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx @@ -147,7 +147,7 @@ export const DebuggerUI = ({ debuggerModule }) => { const currentReceipt = await web3.eth.getTransactionReceipt(txNumber) const debuggerInstance = new Debugger({ web3, - offsetToLineColumnConverter: debuggerModule.offsettolinecolumnconverter, + offsetToLineColumnConverter: debuggerModule.offsetToLineColumnConverter, compilationResult: async (address) => { try { return await debuggerModule.fetchContractAndCompile(address, currentReceipt)