fixed bitpay payment bug as according to bitpay
This commit is contained in:
parent
4f1a780cda
commit
bd382a847a
5 changed files with 14 additions and 10 deletions
|
|
@ -5,11 +5,12 @@ angular.module('copayApp.services').factory('payproService',
|
|||
|
||||
var ret = {};
|
||||
|
||||
ret.getPayProDetails = function(uri, cb, disableLoader) {
|
||||
ret.getPayProDetails = function(uri, coin, cb, disableLoader) {
|
||||
if (!cb) cb = function() {};
|
||||
|
||||
var wallet = profileService.getWallets({
|
||||
onlyComplete: true
|
||||
onlyComplete: true,
|
||||
coin: coin
|
||||
})[0];
|
||||
|
||||
if (!wallet) return cb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue