diff --git a/src/js/amount.js b/src/js/amount.js index 7af56b991d..0191ee6b17 100644 --- a/src/js/amount.js +++ b/src/js/amount.js @@ -265,7 +265,7 @@ UInt160.from_generic = function (j) { UInt160.from_json = function (j) { if ('string' === typeof j) { return (new UInt160()).parse_json(j); - } else if (j instanceof Uint160) { + } else if (j instanceof UInt160) { return j.clone(); } else { return new UInt160();