mirror of
https://github.com/status-im/safe-react.git
synced 2025-03-03 19:00:35 +00:00
Fix params order when getting the add owner transaction data
This commit is contained in:
parent
1cedfa8b50
commit
64de39ae35
@ -39,9 +39,9 @@ export const getTxData = (tx: Transaction): DecodedTxData => {
|
|||||||
txData.addedOwner = tx.decodedParams.args[0]
|
txData.addedOwner = tx.decodedParams.args[0]
|
||||||
txData.newThreshold = tx.decodedParams.args[1]
|
txData.newThreshold = tx.decodedParams.args[1]
|
||||||
} else if (tx.decodedParams.methodName === 'swapOwner') {
|
} else if (tx.decodedParams.methodName === 'swapOwner') {
|
||||||
txData.addedOwner = tx.decodedParams.args[0]
|
txData.newThreshold = tx.decodedParams.args[0]
|
||||||
txData.removedOwner = tx.decodedParams.args[1]
|
txData.removedOwner = tx.decodedParams.args[1]
|
||||||
txData.newThreshold = tx.decodedParams.args[2]
|
txData.addedOwner = tx.decodedParams.args[2]
|
||||||
}
|
}
|
||||||
/* eslint-enable */
|
/* eslint-enable */
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user