fix: disableModule params

This commit is contained in:
fernandomg 2020-07-06 08:17:10 -03:00
parent 5f413ff5e9
commit 60c535e387
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ const Advanced: React.FC = () => {
try {
const safeInstance = await getGnosisSafeInstanceAt(safeAddress)
const [module, prevModule] = selectedModule
const txData = safeInstance.contract.methods.disableModule(module, prevModule).encodeABI()
const txData = safeInstance.contract.methods.disableModule(prevModule, module).encodeABI()
dispatch(
createTransaction({