aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-10-20 06:16:27 +0800
committerDan Finlay <dan@danfinlay.com>2016-10-20 06:16:27 +0800
commit090959470b5f308d485ea9842b2ffbb54b6b14c2 (patch)
tree35d5ba7335930106f51a3b4c00315bef92f616dc
parenta88a48ba14a213920ce1becb0b70cf10192ad3e5 (diff)
downloadtangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar.gz
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar.bz2
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar.lz
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar.xz
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.tar.zst
tangerine-wallet-browser-090959470b5f308d485ea9842b2ffbb54b6b14c2.zip
Add note about callback param to sync method warning
-rw-r--r--app/scripts/lib/inpage-provider.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index c6bfdb4da..052a8f5fe 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -84,7 +84,7 @@ MetamaskInpageProvider.prototype.send = function (payload) {
// throw not-supported Error
default:
var link = 'https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md#dizzy-all-async---think-of-metamask-as-a-light-client'
- var message = `The MetaMask Web3 object does not support synchronous methods like ${payload.method}. See ${link} for details.`
+ var message = `The MetaMask Web3 object does not support synchronous methods like ${payload.method} without a callback parameter. See ${link} for details.`
throw new Error(message)
}