header bitpay on the wallet selector, incoming data fix, clean a bit
This commit is contained in:
parent
b0e46f18a1
commit
cc213956d0
9 changed files with 64 additions and 14 deletions
|
|
@ -106,12 +106,7 @@ angular.module('copayApp.controllers').controller('walletSelectorController', fu
|
|||
}
|
||||
|
||||
function handleThirdPartyIfBip70PaymentProtocol() {
|
||||
if ($scope.thirdParty.id === 'bip70PaymentProtocol') {
|
||||
requestedSatoshis = $scope.thirdParty.details.amount;
|
||||
$scope.coin = $scope.thirdParty.coin;
|
||||
$scope.requestAmount = unitsFromSatoshis * requestedSatoshis;
|
||||
$scope.params.amount = requestedSatoshis;
|
||||
$scope.params.toAddr = $scope.thirdParty.details.toAddress;
|
||||
if ($scope.thirdParty.id === 'bitpay') {
|
||||
console.log('paypro details:', $scope.thirdParty.details);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue