diff --git a/src/js/amount.js b/src/js/amount.js index 2c8978cbf..2ad363fc5 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -720,9 +720,7 @@ Amount.prototype.is_native = function () { Amount.prototype.is_negative = function () { return this._value instanceof BigInteger - ? this.is_native - ? this._value.compareTo(BigInteger.ZERO) < 0 - : this._is_negative + ? this._is_negative : false; // NaN is not negative };