Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 authored and Aniket-Engg committed Oct 31, 2023
1 parent 72acc3a commit 0634dde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/remix-ide/src/app/udapp/run-tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class RunTab extends ViewPlugin {
},
provider: {
sendAsync (payload) {
return udapp.call(name, 'sendAsync', payload)
return udapp.call(name, 'sendAsync', payload)
}
}
})
Expand Down
2 changes: 1 addition & 1 deletion apps/remix-ide/src/blockchain/blockchain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0634dde

Please sign in to comment.