Fix typo. Uint vs UInt always trips me up. :/

This commit is contained in:
Stefan Thomas
2013-01-04 19:19:27 +01:00
parent d1cbd51601
commit e41bd874c6

View File

@@ -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();