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,
|
isOffChainSignature,
|
||||||
isCreation,
|
isCreation,
|
||||||
gasLimit,
|
gasLimit,
|
||||||
gasEstimation,
|
|
||||||
gasPriceFormatted,
|
gasPriceFormatted,
|
||||||
} = useEstimateTransactionGas({
|
} = useEstimateTransactionGas({
|
||||||
txData: EMPTY_DATA,
|
txData: EMPTY_DATA,
|
||||||
|
@ -85,7 +84,7 @@ export const RejectTxModal = ({ isOpen, onClose, gwTransaction }: Props): React.
|
||||||
<EditableTxParameters
|
<EditableTxParameters
|
||||||
ethGasLimit={gasLimit}
|
ethGasLimit={gasLimit}
|
||||||
ethGasPrice={gasPriceFormatted}
|
ethGasPrice={gasPriceFormatted}
|
||||||
safeTxGas={gasEstimation.toString()}
|
safeTxGas={'0'}
|
||||||
safeNonce={nonce.toString()}
|
safeNonce={nonce.toString()}
|
||||||
parametersStatus={getParametersStatus()}
|
parametersStatus={getParametersStatus()}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue