From eaea420aad7d64d2a971ffbae10e2b1f1bc46f4f Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Thu, 17 Oct 2019 11:36:39 -0400 Subject: [PATCH] fix: wallet encryption status for the settings page --- dist/bundle.es.js | 6 +++--- src/redux/actions/wallet.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/dist/bundle.es.js b/dist/bundle.es.js index 509bc03..17ab31d 100644 --- a/dist/bundle.es.js +++ b/dist/bundle.es.js @@ -2458,11 +2458,11 @@ function doWalletStatus() { type: WALLET_STATUS_START }); - lbryProxy.status().then(status => { - if (status && status.wallet) { + lbryProxy.wallet_status().then(status => { + if (status) { dispatch({ type: WALLET_STATUS_COMPLETED, - result: status.wallet.is_encrypted + result: status.is_encrypted }); } }); diff --git a/src/redux/actions/wallet.js b/src/redux/actions/wallet.js index 2f4f87b..2b9032f 100644 --- a/src/redux/actions/wallet.js +++ b/src/redux/actions/wallet.js @@ -352,11 +352,11 @@ export function doWalletStatus() { type: ACTIONS.WALLET_STATUS_START, }); - Lbry.status().then(status => { - if (status && status.wallet) { + Lbry.wallet_status().then(status => { + if (status) { dispatch({ type: ACTIONS.WALLET_STATUS_COMPLETED, - result: status.wallet.is_encrypted, + result: status.is_encrypted, }); } });