From 3ce811ccddaa087f8acb056ff30b9d7bc1e738de Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Fri, 26 Apr 2013 15:17:09 -0700 Subject: [PATCH] Fix parse_number. --- src/js/amount.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/amount.js b/src/js/amount.js index 8fa93851..db006f9b 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -629,6 +629,7 @@ Amount.prototype.parse_quality = function (q, c, i) { } Amount.prototype.parse_number = function (n) { + this._is_native = false; this._currency = Currency.from_json(1); this._issuer = UInt160.from_json(1); this._is_negative = n < 0 ? 1 : 0;