From 60c535e387e547922b847b746dffaaa0b7e1e6f8 Mon Sep 17 00:00:00 2001 From: fernandomg Date: Mon, 6 Jul 2020 08:17:10 -0300 Subject: [PATCH] fix: disableModule params --- src/routes/safe/components/Settings/Advanced/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/safe/components/Settings/Advanced/index.tsx b/src/routes/safe/components/Settings/Advanced/index.tsx index 22b6fe43..b455601e 100644 --- a/src/routes/safe/components/Settings/Advanced/index.tsx +++ b/src/routes/safe/components/Settings/Advanced/index.tsx @@ -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({