use decimal unit preferences

This commit is contained in:
Javier 2016-04-21 10:23:42 -03:00
commit 05a8294e03

View file

@ -1297,7 +1297,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
confirmDialog.show(msg, function(confirmed) {
if (confirmed) {
self._doSendMax(parseFloat((resp.amount * self.satToUnit).toFixed(8)));
self._doSendMax(parseFloat((resp.amount * self.satToUnit).toFixed(self.unitDecimals)));
} else {
self.resetForm();
}