add: sync encrypt and decrypt #71

Merged
tzarebczan merged 3 commits from sync-unlock-form into master 2019-10-21 18:37:46 +02:00
tzarebczan commented 2019-10-17 06:04:07 +02:00 (Migrated from github.com)

FInished up Sean's masterpiece

FInished up Sean's masterpiece
neb-b (Migrated from github.com) reviewed 2019-10-21 18:19:44 +02:00
@ -231,0 +247,4 @@
dispatch(doWalletDecrypt());
}
})
.then(() => Lbry.sync_apply({ password: newPassword }))
neb-b (Migrated from github.com) commented 2019-10-21 18:19:44 +02:00

When would encrypt be true/false?

When would encrypt be true/false?
tzarebczan (Migrated from github.com) reviewed 2019-10-21 18:21:35 +02:00
@ -231,0 +247,4 @@
dispatch(doWalletDecrypt());
}
})
.then(() => Lbry.sync_apply({ password: newPassword }))
tzarebczan (Migrated from github.com) commented 2019-10-21 18:21:34 +02:00

We are passing it from the desktop side so we know if we are decrypting or encrypting. Wanted to re-use the same function since most of the processing is the same. If not, we can create 2 separate functions.

We are passing it from the desktop side so we know if we are decrypting or encrypting. Wanted to re-use the same function since most of the processing is the same. If not, we can create 2 separate functions.
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/lbryinc#71
No description provided.