From 43ac22bf10981dbf93d7d529f0f55117cbf7cf19 Mon Sep 17 00:00:00 2001 From: Graham Dixon Date: Mon, 12 Sep 2022 19:21:33 +0100 Subject: [PATCH] fix(iam): users should be an owner of atleast one safe --- iam/src/providers/gnosisSafe.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iam/src/providers/gnosisSafe.ts b/iam/src/providers/gnosisSafe.ts index 2c7b020e17..1a869b7b20 100644 --- a/iam/src/providers/gnosisSafe.ts +++ b/iam/src/providers/gnosisSafe.ts @@ -40,7 +40,7 @@ export class GnosisSafeProvider implements Provider { // Check if address is owner of at least 1 safe try { const ownerSafes = await getSafes(address); - valid = !!ownerSafes.safes && ownerSafes.safes.length > 1; + valid = !!ownerSafes.safes && ownerSafes.safes.length >= 1; } catch (exc) { error.push((exc as unknown).toString()); }