fix message in mobile

This commit is contained in:
Gabriel Bazán 2015-10-30 17:03:08 -03:00
commit 930cde8dd1

View file

@ -756,14 +756,18 @@ angular.module('copayApp.controllers').controller('indexController', function($r
if (err) return cb(err); if (err) return cb(err);
var localTxs = []; var localTxs = [];
if (!txs) {
self.showWaitingSign = true;
return cb(null, localTxs);
}
try { try {
localTxs = JSON.parse(txs); localTxs = JSON.parse(txs);
} catch (ex) { } catch (ex) {
$log.warn(ex); $log.warn(ex);
} }
if (!localTxs) self.showWaitingSign = true;
return cb(null, self.removeSoftConfirmedTx(localTxs)); return cb(null, self.removeSoftConfirmedTx(localTxs));
}); });
} }