Handle LBC unavailable error from ShapeShift without breaking the app #1739

Merged
neb-b merged 1 commit from shapeshift-fix into master 2018-07-09 17:30:36 +02:00
neb-b commented 2018-07-08 21:56:18 +02:00 (Migrated from github.com)

If LBC is unavailable on shapeshift (like it is right now) the app breaks on the Get Credits page. We need to explicitly check that it is available before worrying about other coins availability.

If it's unavailable, stop and show an error message.

If LBC is unavailable on shapeshift (like it is right now) the app breaks on the Get Credits page. We need to explicitly check that it is available before worrying about other coins availability. If it's unavailable, stop and show an error message.
kauffj (Migrated from github.com) approved these changes 2018-07-09 16:22:55 +02:00
@ -2,2 +2,4 @@
export const RECEIVED = 'received';
export const COMPLETE = 'complete';
export const AVAILABLE = 'available';
export const UNAVAILABLE = 'unavailable';
kauffj (Migrated from github.com) commented 2018-07-09 16:21:17 +02:00

👍 good stuff

:+1: good stuff
kauffj (Migrated from github.com) commented 2018-07-09 16:22:04 +02:00

return dispatch ?

`return dispatch` ?
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#1739
No description provided.