This commit is contained in:
Matias Alejo Garcia 2015-04-26 18:43:37 -03:00
commit f843123121

View file

@ -294,8 +294,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
var fc = profileService.focusedClient; var fc = profileService.focusedClient;
$timeout(function() { $timeout(function() {
storageService.getLastAddress(fc.credentials.walletId, function(err, addr) { storageService.getLastAddress(fc.credentials.walletId, function(err, addr) {
// TODO if (addr) {
if (addr && 0) {
self.addr = addr; self.addr = addr;
} else { } else {
self.newAddress(); self.newAddress();