1
0
mirror of https://github.com/oceanprotocol/react.git synced 2025-01-10 21:30:38 +01:00

fix travis

This commit is contained in:
mihaisc 2020-11-24 18:31:40 +02:00
parent dbb9a4bbe0
commit 4e6e5f1b30
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29
2 changed files with 2 additions and 8 deletions

View File

@ -9,13 +9,7 @@ import React, {
} from 'react' } from 'react'
import Web3 from 'web3' import Web3 from 'web3'
import ProviderStatus from './ProviderStatus' import ProviderStatus from './ProviderStatus'
import { import { Ocean, Logger, Account, Config } from '@oceanprotocol/lib'
Ocean,
Logger,
Account,
Config,
PurgatoryData
} from '@oceanprotocol/lib'
import Web3Modal, { ICoreOptions } from 'web3modal' import Web3Modal, { ICoreOptions } from 'web3modal'
import { getDefaultProviders } from './getDefaultProviders' import { getDefaultProviders } from './getDefaultProviders'
import { getAccountId, getBalance } from 'utils' import { getAccountId, getBalance } from 'utils'

View File

@ -184,7 +184,7 @@ export async function getFirstPoolPrice(
} }
} }
let firstPoolPrice = await ocean.pool.calcInGivenOut( const firstPoolPrice = await ocean.pool.calcInGivenOut(
firstPoolAddress, firstPoolAddress,
dataTokenAddress, dataTokenAddress,
ocean.pool.oceanAddress, ocean.pool.oceanAddress,