Hotfix to correct gaiaHubConfig info in profile.json #1776
Conversation
Can you add a state change version bump to force a rewrite? |
The way the state update logic works is that it updates the profile.json for all local identities you have in the browser. This should be sufficient, because the only effected It iterates and updates all profile.json's before even updating state. When updating the profile.json, it creates a new Gaia token before signing, so any effected Gaia tokens in the profile.json will not be used. This means they can be invalidated before doing the state update, and the write will still work. |
Yep -- can confirm that this is the case: the uploadProfile function here https://github.com/blockstack/blockstack-browser/blob/f2b12bf51123a696ef64fd65c730ebe050e04eb2/app/js/account/utils/index.js#L84 |
This worked for me as well, @hstove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works well for me.
Thanks for the reviews. I also removed the calls to add |
No description provided.