mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-23 16:19:40 +00:00
Return fixed gas price in testing environment
This commit is contained in:
parent
bd6b9c4f9e
commit
b2a20f2147
@ -35,6 +35,10 @@ export const calculateGasPrice = async () => {
|
||||
: 'https://safe-relay.dev.gnosisdev.com/'
|
||||
*/
|
||||
|
||||
if (process.env.NODE_ENV === 'test') {
|
||||
return '20000000000'
|
||||
}
|
||||
|
||||
const header = new Headers({
|
||||
'Access-Control-Allow-Origin': '*',
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user