use coin in sendMax
This commit is contained in:
parent
49cdd79638
commit
cfe7597465
2 changed files with 4 additions and 3 deletions
|
|
@ -373,7 +373,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
id: _id,
|
||||
amount: $scope.useSendMax ? null : _amount,
|
||||
currency: unit.id.toUpperCase(),
|
||||
coin: $scope.useSendMax ? null : coin,
|
||||
coin: coin,
|
||||
useSendMax: $scope.useSendMax
|
||||
});
|
||||
} else {
|
||||
|
|
@ -392,7 +392,7 @@ angular.module('copayApp.controllers').controller('amountController', function($
|
|||
toName: $scope.toName,
|
||||
toEmail: $scope.toEmail,
|
||||
toColor: $scope.toColor,
|
||||
coin: $scope.useSendMax ? null : coin,
|
||||
coin: coin,
|
||||
useSendMax: $scope.useSendMax
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -121,7 +121,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
};
|
||||
|
||||
// Setup $scope
|
||||
//
|
||||
|
||||
|
||||
var B = data.stateParams.coin == 'bch' ? bitcoreCash : bitcore;
|
||||
|
||||
// Grab stateParams
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue