Skip to content

Fix/trust localstorage override regression#230

Merged
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
godwinishaku506-hub:fix/trust-localstorage-override-regression
Jun 30, 2026
Merged

Fix/trust localstorage override regression#230
dDevAhmed merged 2 commits into
DigiNodes:mainfrom
godwinishaku506-hub:fix/trust-localstorage-override-regression

Conversation

@godwinishaku506-hub

Copy link
Copy Markdown
Contributor

Summary
Fix trust override handling so values stored in localStorage for the current user no longer leak into address-specific trust lookups.

What changed
Updated the trust hook to clear current-user override state when a specific address is requested.
Added a regression test to ensure address-based trust calculations continue to use their own derived values instead of the current-user override.
Why
The previous behavior could incorrectly apply the localStorage override to other address-based trust views, which made the demo override behave inconsistently.

closes #168

@dDevAhmed dDevAhmed merged commit 7d3645a into DigiNodes:main Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Leaderboard profile image fallback

2 participants