This commit is contained in:
Matias Alejo Garcia 2016-08-17 17:31:45 -03:00
commit 7d0870aea0
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
6 changed files with 152 additions and 77 deletions

View file

@ -6,7 +6,7 @@ angular.module('copayApp.services').factory('txFormatService', function(profileS
var formatAmountStr = function(amount) {
if (!amount) return;
var config = configService.getSync().wallet.settings;
return profileService.formatAmount(amount) + ' ' + config.unitName;
return walletService.formatAmount(amount) + ' ' + config.unitName;
};
var formatAlternativeStr = function(amount) {
@ -18,7 +18,7 @@ angular.module('copayApp.services').factory('txFormatService', function(profileS
var formatFeeStr = function(fee) {
if (!fee) return;
var config = configService.getSync().wallet.settings;
return profileService.formatAmount(fee) + ' ' + config.unitName;
return walletService.formatAmount(fee) + ' ' + config.unitName;
};
root.processTx = function(tx) {