bip21: use triple equal for consistency.
This commit is contained in:
parent
f46cc65aba
commit
11ecfd1667
|
@ -61,7 +61,7 @@ BIP21.prototype.parse = function(uri) {
|
||||||
|
|
||||||
for (var arg in info.query) {
|
for (var arg in info.query) {
|
||||||
var val = info.query[arg];
|
var val = info.query[arg];
|
||||||
if (arg == 'amount') val = Number(val);
|
if (arg === 'amount') val = Number(val);
|
||||||
this.data[arg] = val;
|
this.data[arg] = val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue