Merge pull request #5359 from ethereum/fix_signing

fix signing
partest
bunsenstraat 3 weeks ago committed by GitHub
commit 82a5ba26ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/remix-ide/src/app/udapp/run-tab.tsx
  2. 2
      libs/remix-ui/workspace/src/lib/actions/index.tsx

@ -304,7 +304,7 @@ class Provider {
if (response.error) {
reject(response.error.message)
} else {
resolve(response)
resolve(response.result)
}
}).catch((err) => {
if (typeof err === 'string') {

@ -530,7 +530,7 @@ export const signTypedData = async (path: string) => {
plugin.call('terminal', 'log', { type: 'log', value: `${path} signature using ${settings.selectedAccount} : ${result}` })
} catch (e) {
console.error(e)
plugin.call('terminal', 'log', { type: 'error', value: `error while signing ${path}: ${e.message}` })
plugin.call('terminal', 'log', { type: 'error', value: `error while signing ${path}: ${e.message || e}` })
dispatch(displayPopUp(e.message))
}
}

Loading…
Cancel
Save