added protocol and use the new cashaddr instead of legacy

This commit is contained in:
Sebastiaan Pasma 2018-06-29 15:24:11 +02:00
commit 40d0e5b896

View file

@ -73,7 +73,8 @@ angular.module('copayApp.controllers').controller('tabReceiveController', functi
currentAddressSocket = new WebSocket("wss://ws.blockchain.info/inv");
paymentSubscriptionObj.addr = $scope.addr
}
clipboardService.copyToClipboard(paymentSubscriptionObj.addr);
clipboardService.copyToClipboard($scope.protocolHandler + ":" + $scope.addr);
// create subscription
var msg = JSON.stringify(paymentSubscriptionObj);