From a1140b695b8ee1a12babd2e26a4049989758df1d Mon Sep 17 00:00:00 2001 From: Kirill Klimenko Date: Tue, 26 Mar 2024 20:54:31 +0100 Subject: [PATCH] Remove encodeProposalTransaction --- src/utils/crypto.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/utils/crypto.ts b/src/utils/crypto.ts index 6a3cdcfd7b..3ca73a64ab 100644 --- a/src/utils/crypto.ts +++ b/src/utils/crypto.ts @@ -94,10 +94,6 @@ export const encodeFunction = ( } }; -export const encodeProposalTransaction = (functionName: string, signature: string, data: any) => { - return new utils.Interface([signature]).encodeFunctionData(functionName, data); -}; - export function isMultiSigTx(transaction: ActivityTransactionType): boolean { return transaction.txType === 'MULTISIG_TRANSACTION'; }