optWeb3 dominance

pull/1573/head
aniket-engg 3 years ago committed by Aniket
parent 50def26d13
commit 3ef5f1b4ac
  1. 2
      libs/remix-ui/debugger-ui/src/lib/debugger-ui.tsx

@ -181,7 +181,7 @@ export const DebuggerUI = (props: DebuggerUIProps) => {
return
}
const web3 = state.opt.debugWithLocalNode ? await debuggerModule.web3() : (optWeb3 || await debuggerModule.getDebugWeb3())
const web3 = optWeb3 || (state.opt.debugWithLocalNode ? await debuggerModule.web3() : await debuggerModule.getDebugWeb3())
try {
const networkId = await web3.eth.net.getId()
_paq.push(['trackEvent', 'debugger', 'startDebugging', networkId])

Loading…
Cancel
Save