minor fixes

This commit is contained in:
Roman Storm 2021-03-19 01:17:51 +03:00
parent 652fa905d6
commit 536ef32a40
No known key found for this signature in database
GPG Key ID: 522F2A785F34E71F
3 changed files with 38 additions and 39 deletions

File diff suppressed because one or more lines are too long

View File

@ -23,7 +23,6 @@ const actions = {
) {
try {
dispatch('loading/enable', {}, { root: true })
const isProxy = action.domain === 'deployer.contract.tornadocash.eth'
const ethAccount = rootGetters['provider/getAccount']
const web3 = rootGetters['provider/currentRpc']

View File

@ -20,7 +20,7 @@ export const getters = {
return new GasPriceOracle({ defaultRpc: currentRpc })
},
fastGasPrice: (state) => {
return toHex(toWei(state.fast.toString(), 'gwei'))
return toHex(toWei(Math.ceil(state.fast).toString(), 'gwei'))
},
lowGasPrice: (state) => {
return toHex(toWei(state.standard.toString(), 'gwei'))