Skip to content

Commit

Permalink
fix: changed default speed fee
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleySuira committed Jan 6, 2023
1 parent d1f70d3 commit 3777d4b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/Swap/Swap.vue
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ export default {
await this._updateQuotes()
} else {
this.selectedFee = {
[this.assetChain]: 'average',
[this.toAssetChain]: 'average'
[this.assetChain]: 'fast',
[this.toAssetChain]: 'fast'
}
this.sendAmount = dpUI(this.defaultAmount)
// Try to use the same account for (from and to) if it has more than one asset
Expand Down Expand Up @@ -1225,11 +1225,11 @@ export default {
await this.updateMaxSwapFees()
})()
selectedFee[this.assetChain] = 'average'
selectedFee[this.assetChain] = 'fast'
}
if (this.toAssetChain) {
this.updateFees({ asset: this.toAssetChain })
selectedFee[this.toAssetChain] = 'average'
selectedFee[this.toAssetChain] = 'fast'
}
this.selectedFee = { ...selectedFee }
},
Expand All @@ -1239,7 +1239,7 @@ export default {
},
cancelCustomFee(asset) {
this.currentStep = 'inputs'
this.selectedFee[asset] = 'average'
this.selectedFee[asset] = 'fast'
},
resetQuoteTimer(resetInterval) {
clearTimeout(this.quoteTimer)
Expand Down

0 comments on commit 3777d4b

Please sign in to comment.