mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-20 12:15:51 +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) {
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user