typos txExecution.ts

pull/5528/head
Ocenka 2 months ago committed by Aniket
parent 49931e74db
commit 6cb9dac08a
  1. 2
      libs/remix-lib/src/execution/txExecution.ts

@ -123,7 +123,7 @@ export function checkError (execResult, compiledContracts) {
} catch (e) {
console.error(e.message)
}
// we check in the 'userdoc' if there's an user documentation for this error
// we check in the 'userdoc' if there's a user documentation for this error
try {
const userdoc = (contract.userdoc.errors && contract.userdoc.errors[functionSignature][0]) || {}
if (userdoc && (userdoc as any).notice) customError += ' : ' + (userdoc as any).notice // we append the user doc if any

Loading…
Cancel
Save