mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-24 22:25:48 +00:00
Fix typo. Uint vs UInt always trips me up. :/
This commit is contained in:
@@ -265,7 +265,7 @@ UInt160.from_generic = function (j) {
|
|||||||
UInt160.from_json = function (j) {
|
UInt160.from_json = function (j) {
|
||||||
if ('string' === typeof j) {
|
if ('string' === typeof j) {
|
||||||
return (new UInt160()).parse_json(j);
|
return (new UInt160()).parse_json(j);
|
||||||
} else if (j instanceof Uint160) {
|
} else if (j instanceof UInt160) {
|
||||||
return j.clone();
|
return j.clone();
|
||||||
} else {
|
} else {
|
||||||
return new UInt160();
|
return new UInt160();
|
||||||
|
|||||||
Reference in New Issue
Block a user