bip21: use triple equal for consistency.

This commit is contained in:
Christopher Jeffrey 2014-08-12 11:03:24 -04:00
parent f46cc65aba
commit 11ecfd1667
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}