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

fix(subproviders/filters): Rename class from SubscriptionsSubprovider to FiltersSubprovider #442

Merged
merged 1 commit into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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