We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7982c6e commit 2dc145dCopy full SHA for 2dc145d
src/actions/swap.js
@@ -1,3 +1,5 @@
1
+/* global alert */
2
+
3
import { replace } from 'connected-react-router'
4
import watch from 'redux-watch'
5
import { store } from '../store'
@@ -151,6 +153,9 @@ async function lockFunds (dispatch, getState) {
151
153
console.log('Initiating Swap', initiateSwapParams)
152
154
}
155
const txHash = await client.swap.initiateSwap(...initiateSwapParams)
156
+ if (wallets.a.type === 'metamask') { // TODO: fix properly
157
+ alert('Please do not use the "Speed up" function to bump the priority of the transaction as this is not yet supported.')
158
+ }
159
dispatch(transactionActions.setTransaction('a', 'fund', { hash: txHash, block }))
160
161
0 commit comments