diff --git a/packages/dai/src/eth/MulticallService.js b/packages/dai/src/eth/MulticallService.js index 5db277f36..c679e1a79 100644 --- a/packages/dai/src/eth/MulticallService.js +++ b/packages/dai/src/eth/MulticallService.js @@ -6,12 +6,16 @@ export default class MulticallService extends PublicService { super(name, ['web3', 'smartContract']); } - createWatcher() { + createWatcher(config) { const { rpcUrl } = this.get('web3'); const multicallAddress = this.get('smartContract').getContractAddress( 'MULTICALL' ); - this._watcher = createWatcher([], { rpcUrl, multicallAddress }); + this._watcher = createWatcher([], { + rpcUrl, + multicallAddress, + ...config + }); } disconnect() {