mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 19:20:39 +00:00
rpc: fix implemented filter methods being forbidden (#5801)
Addresses issue #4833 Removes implemented methods from the forbidden method list. The forbidden list seems to have been created as a bugfix before the filters methods were implemented. Now that the filter methods are implemented, these entries are causing unexpected behaviour.
This commit is contained in:
parent
29ff8daa92
commit
42aa80e059
@ -37,11 +37,5 @@ func (a *AllowList) MarshalJSON() ([]byte, error) {
|
||||
type ForbiddenList map[string]struct{}
|
||||
|
||||
func newForbiddenList() ForbiddenList {
|
||||
return ForbiddenList{
|
||||
"eth_newFilter": struct{}{},
|
||||
"eth_newPendingTransactionFilter": struct{}{},
|
||||
"eth_newBlockFilter": struct{}{},
|
||||
"eth_getFilterChanges": struct{}{},
|
||||
"eth_uninstallFilter": struct{}{},
|
||||
}
|
||||
return ForbiddenList{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user