unlock wallet if needed before syncing #70
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LBRYCommunity/lbryinc!70
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sync-unlock"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also attempted to make some of the promises easier to follow. I think ideally we would just try to call
sync_apply, then if the wallet is locked, callwallet_unlock. However, this is not possible until https://github.com/lbryio/lbry-sdk/issues/1118 is implementedShould this be dependent on
sync_applycompleting? Ifsync_applyfails here, the callback will never be called.@ -143,0 +135,4 @@if (data.hasSyncedWallet) {const error = 'Error getting synced wallet';dispatch({type: ACTIONS.GET_SYNC_FAILED,I guess this is also the same concern as my other comment. Should the callback only be called after
sync_applyis done? And what happens ifsync_applyfails?Good point. I'll add another catch to this one
@ -143,0 +135,4 @@if (data.hasSyncedWallet) {const error = 'Error getting synced wallet';dispatch({type: ACTIONS.GET_SYNC_FAILED,If it fails here it will be caught down below
Looks good!