Removed unnecessary logic.

This commit is contained in:
Brendon Duncan 2018-07-17 19:10:33 +12:00
commit 90fbf801d3

View file

@ -461,7 +461,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
currency: unit.id.toUpperCase(),
coin: coin,
useSendMax: $scope.useSendMax,
fromWalletId: $scope.fromWalletId || undefined
fromWalletId: $scope.fromWalletId
});
} else {
var amount = _amount;
@ -482,7 +482,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
toColor: $scope.toColor,
coin: coin,
useSendMax: $scope.useSendMax,
fromWalletId: $scope.fromWalletId || undefined
fromWalletId: $scope.fromWalletId
};
if ($scope.shapeshiftOrderId) {