update bitcore
This commit is contained in:
parent
89d8aaeffe
commit
9019c3a6fc
3 changed files with 279 additions and 185 deletions
|
|
@ -392,10 +392,18 @@ angular.module('copayApp.controllers').controller('SendController',
|
|||
|
||||
|
||||
$scope.setFromPayPro = function(uri) {
|
||||
|
||||
var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
|
||||
if (isChromeApp) {
|
||||
$scope.error = 'Payment Protocol not yet supported on ChromeApp';
|
||||
return;
|
||||
}
|
||||
|
||||
var w = $rootScope.wallet;
|
||||
$scope.fetchingURL = uri;
|
||||
$scope.loading = true;
|
||||
|
||||
|
||||
// Payment Protocol URI (BIP-72)
|
||||
w.fetchPaymentRequest({
|
||||
url: uri
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue