Commit b0e09e74 authored by LianaHus's avatar LianaHus

fixed tooltip place

parent a643d1d6
...@@ -97,8 +97,8 @@ class Settings { ...@@ -97,8 +97,8 @@ class Settings {
if (isInjected) { if (isInjected) {
const hashedMsg = executionContext.web3().sha3(message) const hashedMsg = executionContext.web3().sha3(message)
try { try {
addTooltip('Please check your provider to approve')
executionContext.web3().eth.sign(account, hashedMsg, (error, signedData) => { executionContext.web3().eth.sign(account, hashedMsg, (error, signedData) => {
if (!error) addTooltip('Please check your provider to approve')
cb(error, hashedMsg, signedData) cb(error, hashedMsg, signedData)
}) })
} catch (e) { } catch (e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment