From 61e5b549ed99104ad3b2b4dde3180a6f36f6fdf2 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Tue, 11 Dec 2012 00:08:52 -0800 Subject: [PATCH] Don't set offsets to 'undefined' anymore. --- src/js/amount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/amount.js b/src/js/amount.js index 0a324ac8..eac8c86d 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -911,7 +911,7 @@ Amount.prototype.parse_native = function (j) { } this._is_native = true; - this._offset = undefined; + this._offset = 0; this._is_negative = !!m[1] && this._value.compareTo(BigInteger.ZERO) !== 0; if (this._value.compareTo(consts.bi_xns_max) > 0)