Swap: populate 'status' from 'btc/swap' response instead of waiting for first websocket input. #5997

Merged
infinite-persistence merged 2 commits from ip/swap-stuck into master 2021-05-04 17:08:01 +02:00
infinite-persistence commented 2021-05-03 10:50:49 +02:00 (Migrated from github.com)

Issue

Closes #5975: swap stop at processing even though response comes through

Notes

Occasionally, the first websocket message doesn't come through (seems like the commerce didn't send?). There's really no need to wait for one more 'status=NEW' message to ensure the right data is being populated (was being over-cautious to get the amount right).

## Issue Closes #5975: [swap stop at processing even though response comes through](https://github.com/lbryio/lbry-desktop/issues/5975) ## Notes Occasionally, the first websocket message doesn't come through (seems like the commerce didn't send?). There's really no need to wait for one more 'status=NEW' message to ensure the right data is being populated (was being over-cautious to get the amount right).
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#5997
No description provided.