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

2 commits

Author SHA1 Message Date
infinite-persistence
8f2911e012
Beautify the "exact amount" advice. 2021-05-03 16:46:37 +08:00
infinite-persistence
a26b741181
Swap: populate 'status' from 'btc/swap' response instead of waiting for first websocket input.
## Issue
Clsoes 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 (being over-cautious here).
2021-05-03 16:37:48 +08:00