Skip to content

Commit

Permalink
Lock preview price to mainnet for now (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
floating authored Nov 1, 2020
1 parent e6601a4 commit 321f704
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main/windows/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ const api = {
this.gasObserver = store.observer(() => {
let title = ''
if (store('platform') === 'darwin' && store('main.menubarGasPrice')) {
const { type, id } = store('main.currentNetwork')
const gasPrice = store('main.networks', type, id, 'gas.price.levels.standard')
const gasPrice = store('main.networks.ethereum.1.gas.price.levels.standard')
if (!gasPrice) return
const gasDisplay = Math.round(parseInt(gasPrice, 'hex') / 1000000000).toString()
title = gasDisplay // ɢ 🄶 Ⓖ ᴳᵂᴱᴵ
Expand Down

0 comments on commit 321f704

Please sign in to comment.