paypro: fix tx broadcasting with domains as paypro addresses.
This commit is contained in:
parent
7df948f9ee
commit
98db768924
1 changed files with 10 additions and 1 deletions
|
|
@ -178,6 +178,15 @@ angular.module('copayApp.controllers').controller('SendController',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If we're setting the domain, ignore the change.
|
||||||
|
if ($rootScope.merchant
|
||||||
|
&& $rootScope.merchant.domain
|
||||||
|
&& address === $rootScope.merchant.domain) {
|
||||||
|
uri = {
|
||||||
|
merchant: $rootScope.merchant.request_url
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (uri && uri.merchant) {
|
if (uri && uri.merchant) {
|
||||||
w.createPaymentTx({
|
w.createPaymentTx({
|
||||||
uri: uri.merchant,
|
uri: uri.merchant,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue