aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-07-28 04:16:44 +0800
committerGitHub <noreply@github.com>2018-07-28 04:16:44 +0800
commit9dc5d0cee07ea2599c25ce9d8c04c73842a98cef (patch)
treeb7c96eb3d93129433d68650e1a2188b2d476072a /app/scripts
parent1540b5e256634dbbbc01627ca45afe82329d39a9 (diff)
parent642ae25073c95fd0774435f6e7c11ba41d01e33c (diff)
downloadtangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar.gz
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar.bz2
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar.lz
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar.xz
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.tar.zst
tangerine-wallet-browser-9dc5d0cee07ea2599c25ce9d8c04c73842a98cef.zip
Merge pull request #4905 from MetaMask/eip-712-deprecation
EIP-712: deprecation message
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/lib/inpage-provider.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index 4e65f0a23..6ef511453 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -54,6 +54,11 @@ function MetamaskInpageProvider (connectionStream) {
// also remap ids inbound and outbound
MetamaskInpageProvider.prototype.sendAsync = function (payload, cb) {
const self = this
+
+ if (payload.method === 'eth_signTypedData') {
+ console.warn('MetaMask: This experimental version of eth_signTypedData will be deprecated in the next release in favor of the standard as defined in EIP-712. See https://git.io/fNzPl for more information on the new standard.')
+ }
+
self.rpcEngine.handle(payload, cb)
}