mirror of
https://github.com/tornadocash/tornado-initiation-ui.git
synced 2024-11-22 17:40:04 +01:00
minor fixes
This commit is contained in:
parent
652fa905d6
commit
536ef32a40
File diff suppressed because one or more lines are too long
@ -23,7 +23,6 @@ const actions = {
|
|||||||
) {
|
) {
|
||||||
try {
|
try {
|
||||||
dispatch('loading/enable', {}, { root: true })
|
dispatch('loading/enable', {}, { root: true })
|
||||||
const isProxy = action.domain === 'deployer.contract.tornadocash.eth'
|
|
||||||
const ethAccount = rootGetters['provider/getAccount']
|
const ethAccount = rootGetters['provider/getAccount']
|
||||||
const web3 = rootGetters['provider/currentRpc']
|
const web3 = rootGetters['provider/currentRpc']
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ export const getters = {
|
|||||||
return new GasPriceOracle({ defaultRpc: currentRpc })
|
return new GasPriceOracle({ defaultRpc: currentRpc })
|
||||||
},
|
},
|
||||||
fastGasPrice: (state) => {
|
fastGasPrice: (state) => {
|
||||||
return toHex(toWei(state.fast.toString(), 'gwei'))
|
return toHex(toWei(Math.ceil(state.fast).toString(), 'gwei'))
|
||||||
},
|
},
|
||||||
lowGasPrice: (state) => {
|
lowGasPrice: (state) => {
|
||||||
return toHex(toWei(state.standard.toString(), 'gwei'))
|
return toHex(toWei(state.standard.toString(), 'gwei'))
|
||||||
|
Loading…
Reference in New Issue
Block a user