Merge pull request #226 from lbryio/fix-wallet-encryption
fix: wallet encryption status
This commit is contained in:
commit
18c5496d54
2 changed files with 6 additions and 6 deletions
6
dist/bundle.es.js
vendored
6
dist/bundle.es.js
vendored
|
@ -2458,11 +2458,11 @@ function doWalletStatus() {
|
||||||
type: WALLET_STATUS_START
|
type: WALLET_STATUS_START
|
||||||
});
|
});
|
||||||
|
|
||||||
lbryProxy.status().then(status => {
|
lbryProxy.wallet_status().then(status => {
|
||||||
if (status && status.wallet) {
|
if (status) {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: WALLET_STATUS_COMPLETED,
|
type: WALLET_STATUS_COMPLETED,
|
||||||
result: status.wallet.is_encrypted
|
result: status.is_encrypted
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -352,11 +352,11 @@ export function doWalletStatus() {
|
||||||
type: ACTIONS.WALLET_STATUS_START,
|
type: ACTIONS.WALLET_STATUS_START,
|
||||||
});
|
});
|
||||||
|
|
||||||
Lbry.status().then(status => {
|
Lbry.wallet_status().then(status => {
|
||||||
if (status && status.wallet) {
|
if (status) {
|
||||||
dispatch({
|
dispatch({
|
||||||
type: ACTIONS.WALLET_STATUS_COMPLETED,
|
type: ACTIONS.WALLET_STATUS_COMPLETED,
|
||||||
result: status.wallet.is_encrypted,
|
result: status.is_encrypted,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue