JS: Rename ADDRESS_ to ACCOUNT_ to be consistent with C++.

This commit is contained in:
Arthur Britto
2013-03-03 22:35:00 -08:00
parent 49458bff57
commit 522d4f642a
4 changed files with 7 additions and 10 deletions

View File

@@ -106,14 +106,14 @@ UInt.prototype.parse_generic = function (j) {
case undefined:
case "0":
case this.constructor.STR_ZERO:
case this.constructor.ADDRESS_ZERO:
case this.constructor.ACCOUNT_ZERO:
case this.constructor.HEX_ZERO:
this._value = nbi();
break;
case "1":
case this.constructor.STR_ONE:
case this.constructor.ADDRESS_ONE:
case this.constructor.ACCOUNT_ONE:
case this.constructor.HEX_ONE:
this._value = new BigInteger([1]);