diff --git a/package.json b/package.json index 77d0f8b..931ea7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gas-price-oracle", - "version": "0.3.1", + "version": "0.3.2", "description": "Gas Price Oracle library for Ethereum dApps.", "main": "lib/index.js", "homepage": "https://github.com/peppersec/gas-price-oracle", diff --git a/src/config/binance.ts b/src/config/binance.ts index 7ea50ad..2678770 100644 --- a/src/config/binance.ts +++ b/src/config/binance.ts @@ -3,7 +3,7 @@ import { OffChainOracle, OffChainOracles, OnChainOracles } from '../types'; const bscgas: OffChainOracle = { name: 'bscgas', url: 'https://bscgas.info/gas', - instantPropertyName: 'imediate', + instantPropertyName: 'instant', fastPropertyName: 'fast', standardPropertyName: 'standard', lowPropertyName: 'slow', diff --git a/tests/index.test.ts b/tests/index.test.ts index bf8569d..567217a 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -207,9 +207,6 @@ describe('fetchMedianGasPriceOffChain', function () { describe('askOracle', function () { it('all oracles should answer', async function () { - // TODO: remove after fix POA - delete offChainOracles['poa']; - for (const o of Object.values(offChainOracles) as Array) { try { const gas: GasPrice = await oracle.askOracle(o);