Check min max on shapeshift flow

This commit is contained in:
Sebastiaan Pasma 2018-08-06 18:11:37 +02:00
commit 5b6f48e6a2
No known key found for this signature in database
GPG key ID: 9A2B0C8B95A1D26F
3 changed files with 5 additions and 13 deletions

View file

@ -102,6 +102,7 @@ angular.module('copayApp.controllers').controller('walletSelectorController', fu
}
function handleThirdPartyIfShapeshift() {
console.log($scope.thirdParty, $scope.coin);
if ($scope.thirdParty.id === 'shapeshift' && $scope.type === 'destination') { // Shapeshift wants to know the
$scope.coin = profileService.getWallet(fromWalletId).coin;
if ($scope.coin === 'bch') {