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

@ -125,8 +125,7 @@ function reviewController(addressbookService, bitcoinCashJsService, bitcore, bit
}
vm.approve = function() {
if (vm.thirdParty.id === 'shapeshift') {
shapeshiftService.shiftIt();
if (vm.thirdParty.id === 'shapeshift')
return;
if (!tx || !vm.originWallet) return;