SharedStake / SharedStake-ui

SharedStake User Interface using vue.js
https://www.sharedstake.org/
GNU General Public License v3.0
15 stars 15 forks source link

hotfix utils/common.js #166

Closed mystic-mango closed 11 months ago

mystic-mango commented 11 months ago

Change low from 2 to 29

export const getCurrentGasPrices = async () => {
  // todo fix me
  // let response = await axios.get('https://www.gasnow.org/api/v3/gas/price')
  // let response = await axios.get('https://ethgasstation.info/api/ethgasAPI.json?');
  // console.log('getCurrentGasPrices', response);
  // if (!response || response.status !== 200) {
  return {
    low: 29,
    medium: 30,
    high: 200,
    tip: {
      low: 0.1,
      medium: 1,
      high: 2,
    },
  };
mystic-mango commented 11 months ago

@chimera-defi @WJakub

aws-amplify-us-east-2[bot] commented 11 months ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-166.df86yn386iuh7.amplifyapp.com