Skip to content

Commit

Permalink
fix(iam): users should be an owner of atleast one safe
Browse files Browse the repository at this point in the history
  • Loading branch information
gdixon committed Sep 12, 2022
1 parent 5314595 commit 43ac22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/src/providers/gnosisSafe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 43ac22b

Please sign in to comment.