From 42ede54e940ab54bda9d99d7bce14792ae2def14 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 19 Apr 2016 05:53:06 -0700 Subject: [PATCH] fix adjusted time offset. --- lib/bcoin/adjustedtime.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/bcoin/adjustedtime.js b/lib/bcoin/adjustedtime.js index f0bae290..00ab1dad 100644 --- a/lib/bcoin/adjustedtime.js +++ b/lib/bcoin/adjustedtime.js @@ -22,6 +22,7 @@ var assert = utils.assert; * @property {Array} samples * @property {Object} known * @property {Number} limit + * @property {Number} offset */ function AdjustedTime(limit) { @@ -36,6 +37,7 @@ function AdjustedTime(limit) { this.samples = []; this.known = {}; this.limit = limit; + this.offset = 0; this._checked = false; }