mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-20 10:35:50 +00:00
UT: Initial check in unit tests for amount.js.
This commit is contained in:
@@ -12,7 +12,7 @@ var UInt160 = function () {
|
||||
// XXX Should standardize on 'i' format or 20 format.
|
||||
};
|
||||
|
||||
UInt160.prototype.from_json = function (j) {
|
||||
UInt160.from_json = function (j) {
|
||||
var u = new UInt160();
|
||||
|
||||
return u.parse_json(j);
|
||||
|
||||
Reference in New Issue
Block a user