fixed tooltip place

pull/1/head
LianaHus 6 years ago
parent a643d1d6b7
commit b0e09e7428
  1. 2
      src/app/tabs/runTab/model/settings.js

@ -97,8 +97,8 @@ class Settings {
if (isInjected) {
const hashedMsg = executionContext.web3().sha3(message)
try {
addTooltip('Please check your provider to approve')
executionContext.web3().eth.sign(account, hashedMsg, (error, signedData) => {
if (!error) addTooltip('Please check your provider to approve')
cb(error, hashedMsg, signedData)
})
} catch (e) {

Loading…
Cancel
Save