From b7ed2798fb18f8e0e9a5fd42470d6847b78c7834 Mon Sep 17 00:00:00 2001 From: Gustavo Cortez Date: Mon, 5 May 2014 16:32:36 -0300 Subject: [PATCH] Fix #269: save wallet when restoring a backup --- js/models/core/WalletFactory.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/models/core/WalletFactory.js b/js/models/core/WalletFactory.js index ba6f33f85..f1b854f0c 100644 --- a/js/models/core/WalletFactory.js +++ b/js/models/core/WalletFactory.js @@ -65,6 +65,8 @@ WalletFactory.prototype.fromObj = function(obj) { } this.log('### WALLET OPENED:', w.id); + // store imported wallet + w.store(); return w; };