fix unit check

This commit is contained in:
Matias Alejo Garcia 2016-02-29 10:25:41 -03:00
commit 5a92dd3980

View file

@ -817,7 +817,7 @@ angular.module('copayApp.controllers').controller('indexController', function($r
var config = configService.getSync().wallet.settings;
var fixTxsUnit = function(txs) {
if (!txs || !txs[0]) return;
if (!txs || !txs[0] || !txs[0].amountStr) return;
var cacheUnit = txs[0].amountStr.split(' ')[1];