mirror of
https://github.com/tornadocash/tornado-initiation-ui.git
synced 2024-11-22 09:36:52 +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 {
|
||||
dispatch('loading/enable', {}, { root: true })
|
||||
const isProxy = action.domain === 'deployer.contract.tornadocash.eth'
|
||||
const ethAccount = rootGetters['provider/getAccount']
|
||||
const web3 = rootGetters['provider/currentRpc']
|
||||
|
||||
|
@ -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'))
|
||||
|
Loading…
Reference in New Issue
Block a user