ttrigger upgrade on android - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit af2bf1955a7291e432493e1a7601d8bc4e4dd1af DIR parent 843ac4e90b998c2a4c95da3294a908e2ddb715dd HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 26 Aug 2016 07:09:38 +0200 ttrigger upgrade on android Diffstat: M lib/daemon.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/daemon.py b/lib/daemon.py t@@ -187,6 +187,9 @@ class Daemon(DaemonThread): storage = WalletStorage(path) if not storage.file_exists: return + if storage.requires_upgrade() and 'ANDROID_DATA' in os.environ: + self.print_error('upgrading wallet format') + storage.upgrade() if storage.requires_split() or storage.requires_upgrade() or storage.get_action(): return wallet = Wallet(storage)