update bitcore

This commit is contained in:
Matias Alejo Garcia 2014-12-19 19:10:34 -03:00
commit 9019c3a6fc
3 changed files with 279 additions and 185 deletions

View file

@ -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