From 07bb2a82ddcfda006a0ce99b1eba13a686f78b6f Mon Sep 17 00:00:00 2001 From: Stefan Thomas Date: Fri, 4 Jan 2013 19:19:27 +0100 Subject: [PATCH] Fix typo. Uint vs UInt always trips me up. :/ --- 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 7af56b991..0191ee6b1 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();