mirror of https://github.com/BTCPrivate/copay.git
commit
4761b68fcd
|
@ -1297,7 +1297,7 @@ angular.module('copayApp.controllers').controller('walletHomeController', functi
|
|||
|
||||
confirmDialog.show(msg, function(confirmed) {
|
||||
if (confirmed) {
|
||||
self._doSendMax(resp.amount * self.satToUnit);
|
||||
self._doSendMax(parseFloat((resp.amount * self.satToUnit).toFixed(self.unitDecimals)));
|
||||
} else {
|
||||
self.resetForm();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue