From 37053af74dba265bdb4b2674a6d7963c62829b10 Mon Sep 17 00:00:00 2001 From: Samuel Furter Date: Fri, 29 Mar 2019 19:39:54 +0100 Subject: [PATCH] EventSubscriptionFactory fixed --- .../src/factories/EventSubscriptionFactory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 );