From 8104f71162f4b099341009240e83d3fa0508b785 Mon Sep 17 00:00:00 2001 From: Geert Weening Date: Tue, 27 May 2014 16:06:46 -0700 Subject: [PATCH] [FIX] Currency by number default type should be a non-interest bearing currency --- src/js/ripple/amount.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/ripple/amount.js b/src/js/ripple/amount.js index 93cec17b..dd809ff2 100644 --- a/src/js/ripple/amount.js +++ b/src/js/ripple/amount.js @@ -762,7 +762,7 @@ Amount.prototype.parse_quality = function(quality, counterCurrency, counterIssue Amount.prototype.parse_number = function(n) { this._is_native = false; - this._currency = Currency.from_json(1); + this._currency = Currency.from_json(0); this._issuer = UInt160.from_json(1); this._is_negative = n < 0 ? 1 : 0; this._value = new BigInteger(String(this._is_negative ? -n : n));