mirror of
https://github.com/oceanprotocol/react.git
synced 2025-01-10 21:30:38 +01:00
fix travis
This commit is contained in:
parent
dbb9a4bbe0
commit
4e6e5f1b30
@ -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'
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user