Skip to content

Commit

Permalink
change to show all addresses as sanctioned
Browse files Browse the repository at this point in the history
  • Loading branch information
HrithikSampson committed Sep 26, 2024
1 parent 6179bd2 commit 5fb8b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/donation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export async function isWalletSanctioned(

// Check the response and determine if the address is sanctioned
const result = data && data[0];
return Boolean(result && result.isSanctioned);
return Boolean(result && result.isSanctioned) || true;
} catch (error) {
console.error('Error checking wallet sanction status:', error);
return false;
Expand Down

0 comments on commit 5fb8b35

Please sign in to comment.