mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-11 18:44:07 +00:00
set gas to 0 when rejecting a tx. (#1993)
This commit is contained in:
parent
4c37a2b7c1
commit
7312c99cdb
@ -46,7 +46,6 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
|
||||
isOffChainSignature,
|
||||
isCreation,
|
||||
gasLimit,
|
||||
gasEstimation,
|
||||
gasPriceFormatted,
|
||||
} = useEstimateTransactionGas({
|
||||
txData: EMPTY_DATA,
|
||||
@ -85,7 +84,7 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
|
||||
<EditableTxParameters
|
||||
ethGasLimit={gasLimit}
|
||||
ethGasPrice={gasPriceFormatted}
|
||||
safeTxGas={gasEstimation.toString()}
|
||||
safeTxGas={'0'}
|
||||
safeNonce={nonce.toString()}
|
||||
parametersStatus={getParametersStatus()}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user