Default config unit for txFormatAmount
This commit is contained in:
parent
7d9f7d9303
commit
d3dda639db
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ angular.module('copayApp.services').factory('txFormatService', function($filter,
|
|||
|
||||
|
||||
root.formatAmount = function(satoshis, fullPrecision) {
|
||||
var config = configService.getSync().wallet.settings;
|
||||
var config = configService.getDefaults().wallet.settings;
|
||||
if (config.unitCode == 'sat') return satoshis;
|
||||
|
||||
//TODO : now only works for english, specify opts to change thousand separator and decimal separator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue