You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the swap component creates a new open orders account, because it detects one doesn't exist, it doesn't save that open orders account after the transaction completes. This will cause the component to recreate a new open orders account, even though one exists, if one initiates a swap for the second time without refreshing.
One easy solution is to just save the new open orders accounts into the context open orders cache immediately after the transaction to create them completes.
The text was updated successfully, but these errors were encountered:
armaniferrante
changed the title
Newly created open orders aren't picked up by the component
Newly created open orders accounts aren't picked up by the manage dex component
May 26, 2021
When the swap component creates a new open orders account, because it detects one doesn't exist, it doesn't save that open orders account after the transaction completes. This will cause the component to recreate a new open orders account, even though one exists, if one initiates a swap for the second time without refreshing.
One easy solution is to just save the new open orders accounts into the context open orders cache immediately after the transaction to create them completes.
The text was updated successfully, but these errors were encountered: