Skip to content

[BUG] Fix OFAC filter #2459

@yuri-xyz

Description

@yuri-xyz

The OFAC filter isn't working because the site used for geolocation is down.

Furthermore, the OFAC check logic can use some improvement(s), for example having a timeout if the request fails, and also saving the check result into local storage to prevent blocking the UI on every page load.

  • Use a separate, ideally reliable site.
  • Have a reasonable timeout for the check/request, to prevent blocking the UI if the request takes too long.
  • Save the result into local storage for subsequent page loads.
  • Ensure any errors from the OFAC filter are handled properly so that it does not break the site if the geolocation URL/service goes down in the future.

image

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Not Started 🕧

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions