diff --git a/js/filters.js b/js/filters.js index 9fc93dec3..9cd467bbf 100644 --- a/js/filters.js +++ b/js/filters.js @@ -49,7 +49,7 @@ angular.module('copayApp.filters', []) var numberFilter = filter('number'); var formats = locale.NUMBER_FORMATS; return function(amount, n) { - if (!$rootScope.wallet) return amount; + if (typeof(n) === 'undefined' && !$rootScope.wallet) return amount; var fractionSize = (typeof(n) !== 'undefined') ? n : $rootScope.wallet.settings.unitToSatoshi.toString().length - 1;