diff --git a/src/logic/safe/utils/safeVersion.ts b/src/logic/safe/utils/safeVersion.ts index 84c17e68..53d60dae 100644 --- a/src/logic/safe/utils/safeVersion.ts +++ b/src/logic/safe/utils/safeVersion.ts @@ -32,7 +32,7 @@ export const enabledFeatures = (version: string): Array => return acc }, []) -interface SafeInfo { +interface SafeVersionInfo { current: string latest: string needUpdate: boolean @@ -41,7 +41,7 @@ interface SafeInfo { export const checkIfSafeNeedsUpdate = async ( gnosisSafeInstance: { VERSION: () => Promise }, lastSafeVersion: string, -): Promise => { +): Promise => { if (!gnosisSafeInstance || !lastSafeVersion) { return null } @@ -66,7 +66,7 @@ export const getCurrentMasterContractLastVersion = async (): Promise => return safeMasterVersion } -export const getSafeVersionInfo = async (safeAddress: string): Promise => { +export const getSafeVersionInfo = async (safeAddress: string): Promise => { try { const safeMaster = await getGnosisSafeInstanceAt(safeAddress) const lastSafeVersion = await getCurrentMasterContractLastVersion()