Fix createTransaction nonce usage on removeSelectedModule (#1892)
This commit is contained in:
parent
906e90c1d0
commit
b6a167563b
|
@ -86,13 +86,13 @@ export const RemoveModuleModal = ({ onClose, selectedModulePair }: RemoveModuleM
|
||||||
|
|
||||||
const removeSelectedModule = async (txParameters: TxParameters): Promise<void> => {
|
const removeSelectedModule = async (txParameters: TxParameters): Promise<void> => {
|
||||||
try {
|
try {
|
||||||
dispatch(
|
await dispatch(
|
||||||
createTransaction({
|
createTransaction({
|
||||||
safeAddress,
|
safeAddress,
|
||||||
to: safeAddress,
|
to: safeAddress,
|
||||||
valueInWei: '0',
|
valueInWei: '0',
|
||||||
txData,
|
txData,
|
||||||
txNonce: txParameters.ethNonce,
|
txNonce: txParameters.safeNonce,
|
||||||
safeTxGas: txParameters.safeTxGas ? Number(txParameters.safeTxGas) : undefined,
|
safeTxGas: txParameters.safeTxGas ? Number(txParameters.safeTxGas) : undefined,
|
||||||
ethParameters: txParameters,
|
ethParameters: txParameters,
|
||||||
notifiedTransaction: TX_NOTIFICATION_TYPES.SETTINGS_CHANGE_TX,
|
notifiedTransaction: TX_NOTIFICATION_TYPES.SETTINGS_CHANGE_TX,
|
||||||
|
|
Loading…
Reference in New Issue