diff --git a/packages/web3-eth-contract/src/factories/EventSubscriptionFactory.js b/packages/web3-eth-contract/src/factories/EventSubscriptionFactory.js index 7f01e4745b1..27df79a4130 100644 --- a/packages/web3-eth-contract/src/factories/EventSubscriptionFactory.js +++ b/packages/web3-eth-contract/src/factories/EventSubscriptionFactory.js @@ -52,7 +52,7 @@ export default class EventSubscriptionFactory { this.utils, this.formatters, contract, - new GetPastLogsMethod(this.utils, this.formatters), + new GetPastLogsMethod(this.utils, this.formatters, contract), eventLogDecoder, abiItemModel ); @@ -73,7 +73,7 @@ export default class EventSubscriptionFactory { this.utils, this.formatters, contract, - new GetPastLogsMethod(this.utils, this.formatters), + new GetPastLogsMethod(this.utils, this.formatters, contract), allEventsLogDecoder, contract.abiModel );