fix linting

pull/3654/head^2
yann300 1 year ago committed by Aniket
parent 72acc3a914
commit 0634dde893
  1. 2
      apps/remix-ide/src/app/udapp/run-tab.js
  2. 2
      apps/remix-ide/src/blockchain/blockchain.tsx

@ -134,7 +134,7 @@ export class RunTab extends ViewPlugin {
},
provider: {
sendAsync (payload) {
return udapp.call(name, 'sendAsync', payload)
return udapp.call(name, 'sendAsync', payload)
}
}
})

@ -962,7 +962,7 @@ export class Blockchain extends Plugin {
cb(null, txResult, address, returnValue)
} catch (error) {
if (this.isInjectedWeb3()) {
let errorObj = error.replace('Returned error: ', '').replace('error: ', '')
const errorObj = error.replace('Returned error: ', '').replace('error: ', '')
if (errorObj) {
const compiledContracts = await this.call('compilerArtefacts', 'getAllContractDatas')
const injectedError = txExecution.checkError({ errorMessage: errorObj }, compiledContracts)

Loading…
Cancel
Save