diff --git a/lib/hdkey.js b/lib/hdkey.js index 4bf2d46..2d953ea 100644 --- a/lib/hdkey.js +++ b/lib/hdkey.js @@ -15,10 +15,10 @@ var LEN = 78 var N = ecparams.params.n //Bitcoin hardcoded by default, can use package `coininfo` for others -var VERSIONS = {private: 0x0488ADE4, public: 0x0488B21E} +var BITCOIN_VERSIONS = {private: 0x0488ADE4, public: 0x0488B21E} function HDKey(versions) { - this.versions = versions || VERSIONS + this.versions = versions || BITCOIN_VERSIONS this.depth = 0 this.index = 0 this._privateKey = null