use coin in sendMax

This commit is contained in:
matiu 2017-09-15 16:06:06 -03:00
commit cfe7597465
2 changed files with 4 additions and 3 deletions

View file

@ -121,7 +121,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
};
// Setup $scope
//
var B = data.stateParams.coin == 'bch' ? bitcoreCash : bitcore;
// Grab stateParams