Fix amount in satoshis

This commit is contained in:
Gustavo Maximiliano Cortez 2017-08-29 15:42:51 -03:00
commit 491aef0acf
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -363,7 +363,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
if (unit.isFiat) {
amount = fromFiat(_amount);
} else if ($scope.useSendMax) {
} else {
amount = (amount * unitToSatoshi).toFixed(0);
}