1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

Fix error "Cannot read properties of undefined (reading 'sideStakingAddress')"

This commit is contained in:
Miquel A. Cabot 2022-03-22 17:58:49 +01:00
parent d60c26be50
commit 1bd82e7f3a

View File

@ -55,8 +55,8 @@ describe('SideStaking unit test', () => {
})
it('should deploy contracts', async () => {
sideStakingAddress = contracts.sideStakingAddress
contracts = await deployContracts(web3, factoryOwner)
sideStakingAddress = contracts.sideStakingAddress
// initialize Pool instance
pool = new Pool(web3, PoolTemplate.abi as AbiItem[])