Browse Source

bip21: fix regex parse error.

patch-2
Christopher Jeffrey 11 years ago
parent
commit
730e8236cf
  1. 2
      lib/BIP21.js

2
lib/BIP21.js

@ -56,7 +56,7 @@ BIP21.prototype.parse = function(uri) {
}
// workaround to host insensitiveness
var group = /[^:]*:/?/?([^?]*)/.exec(uri);
var group = /[^:]*:\/?\/?([^?]*)/.exec(uri);
this.setAddress(group && group[1]);
for (var arg in info.query) {

Loading…
Cancel
Save