UT: Initial check in unit tests for amount.js.

This commit is contained in:
Arthur Britto
2012-10-11 16:25:01 -07:00
parent 773f9263dc
commit 8ebceaa53e
2 changed files with 14 additions and 1 deletions

View File

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