[wallet] Fix crash if disablewallet=1

master
Daniel Edgecumbe 7 years ago
parent 1d5f18a550
commit 9d04c4ec20

@ -80,6 +80,10 @@ class WalletView(view.View):
except KeyError:
return
if wallet is None:
# probably a disabled wallet.
return
if self._wallet is not None:
if wallet["lastblock"] == self._wallet["lastblock"]:
# No change.

Loading…
Cancel
Save