Browse Source

bip21: use triple equal for consistency.

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

2
lib/BIP21.js

@ -61,7 +61,7 @@ BIP21.prototype.parse = function(uri) {
for (var arg in info.query) {
var val = info.query[arg];
if (arg == 'amount') val = Number(val);
if (arg === 'amount') val = Number(val);
this.data[arg] = val;
}
}

Loading…
Cancel
Save