From 11ecfd16677e6a709d2fbaedac89aee5093de882 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 12 Aug 2014 11:03:24 -0400 Subject: [PATCH] bip21: use triple equal for consistency. --- lib/BIP21.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/BIP21.js b/lib/BIP21.js index 9253f1a..f8930a6 100644 --- a/lib/BIP21.js +++ b/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; } }