fix uriPayment

This commit is contained in:
Matias Alejo Garcia 2014-07-29 14:30:08 -03:00
parent c0190aaeeb
commit af2a12929a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
angular.module('copayApp.controllers').controller('UriPaymentController', function($rootScope, $scope, $routeParams, $timeout, $location) {
var data = decodeURIComponent($routeParams.data);
$rootScope.pendingPayment = copay.Structure.parseBitcoinURI($routeParams.data);
$rootScope.pendingPayment = copay.HDPath.parseBitcoinURI($routeParams.data);
$scope.protocol = $rootScope.pendingPayment.protocol;
$scope.address = $rootScope.pendingPayment.address;