Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
fix(suproviders/filters): Rename class from SubsciptionsSubProvider t…
Browse files Browse the repository at this point in the history
…o FiltersSubProvider (#442)
  • Loading branch information
legobeat authored Oct 11, 2023
1 parent aa03299 commit f5a78a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions subproviders/filters.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const ProviderSubprovider = require('./json-rpc-engine-middleware')
const createFilterMiddleware = require('eth-json-rpc-filters')

class SubscriptionsSubprovider extends ProviderSubprovider {
class FiltersSubprovider extends ProviderSubprovider {
constructor() {
super(({ blockTracker, provider, engine }) => {
super(({ blockTracker, provider }) => {
return createFilterMiddleware({ blockTracker, provider })
})
}
}

module.exports = SubscriptionsSubprovider
module.exports = FiltersSubprovider

0 comments on commit f5a78a9

Please sign in to comment.