diff --git a/js/page/wallet.js b/js/page/wallet.js index 0bc4b40e1..7e9b14a76 100644 --- a/js/page/wallet.js +++ b/js/page/wallet.js @@ -18,10 +18,16 @@ var AddressSection = React.createClass({ componentWillMount: function() { var address = localStorage.getItem('wallet_address'); if (address === null) { - self._refreshAddress(); + this._refreshAddress(); } else { - this.setState({ - address: address, + lbry.checkAddressIsMine(address, (isMine) => { + if (isMine) { + this.setState({ + address: address, + }); + } else { + this._refreshAddress(); + } }); } },