mirror of https://github.com/BTCPrivate/copay.git
hdpath: fix uri parser to deal with merchant uris.
This commit is contained in:
parent
ac8f5a55bc
commit
91414b963c
|
@ -55,7 +55,7 @@ HDPath.parseBitcoinURI = function(uri) {
|
|||
var data = decodeURIComponent(uri);
|
||||
var splitDots = data.split(':');
|
||||
ret.protocol = splitDots[0];
|
||||
data = splitDots[1];
|
||||
data = splitDots.slice(1).join(':');
|
||||
var splitQuestion = data.split('?');
|
||||
ret.address = splitQuestion[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue