From 5bf0824000f13796ba0091a9f9202cfd39cca824 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 19 Apr 2016 06:19:51 -0700 Subject: [PATCH] minor. --- lib/bcoin/timedata.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bcoin/timedata.js b/lib/bcoin/timedata.js index f173d660..785bcf33 100644 --- a/lib/bcoin/timedata.js +++ b/lib/bcoin/timedata.js @@ -56,7 +56,7 @@ TimeData.prototype.add = function add(host, time) { if (this.samples.length >= this.limit) return; - if (this.known[host]) + if (this.known[host] != null) return; this.known[host] = sample;