mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 12:29:06 +01:00
rpc - add sync uninstallFilter support
This commit is contained in:
parent
93bbe2c60d
commit
c0a2eb146a
@ -82,6 +82,11 @@ MetamaskInpageProvider.prototype.send = function (payload) {
|
||||
result = selectedAddress || '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 () {}
|
||||
|
Loading…
Reference in New Issue
Block a user