aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/inpage-provider.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-29 05:22:27 +0800
committerGitHub <noreply@github.com>2016-11-29 05:22:27 +0800
commitda5be09a94763f5de292f47c425919f3d4fac866 (patch)
treea68a7c2529a82f4634913755bfc3f781f9476c3c /app/scripts/lib/inpage-provider.js
parentb9b3ef8fedc848cbebc60eab70b90aa4f75060f2 (diff)
parentb8991195829474691f17db3a7a6c9c081f9a95c9 (diff)
downloadtangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar.gz
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar.bz2
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar.lz
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar.xz
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.tar.zst
tangerine-wallet-browser-da5be09a94763f5de292f47c425919f3d4fac866.zip
Merge pull request #890 from MetaMask/MergeMasterIntoDev
Merge master into dev
Diffstat (limited to 'app/scripts/lib/inpage-provider.js')
-rw-r--r--app/scripts/lib/inpage-provider.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/scripts/lib/inpage-provider.js b/app/scripts/lib/inpage-provider.js
index 7179ae978..30fcbcb66 100644
--- a/app/scripts/lib/inpage-provider.js
+++ b/app/scripts/lib/inpage-provider.js
@@ -82,6 +82,11 @@ MetamaskInpageProvider.prototype.send = function (payload) {
result = selectedAccount || '0x0000000000000000000000000000000000000000'
break
+ case 'eth_uninstallFilter':
+ self.sendAsync(payload, noop)
+ result = true
+ break
+
// 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'
@@ -127,3 +132,5 @@ function eachJsonMessage (payload, transformFn) {
return transformFn(payload)
}
}
+
+function noop () {}