1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00
This commit is contained in:
alexcos20 2020-10-29 05:45:46 -07:00
parent 677ed0c492
commit 07c3835759

View File

@ -913,7 +913,7 @@ export class OceanPool extends Pool {
const factory = new this.web3.eth.Contract(this.factoryABI, this.factoryAddress)
const events = await factory.getPastEvents('BPoolRegistered', {
filter: account ? { registeredBy: account } : {},
filter: {},
fromBlock: BPFACTORY_DEPLOY_BLOCK,
toBlock: 'latest'
})