Browse Source

lib/hdkey: renamed VERSIONS to BITCOIN_VERSIONS

master
JP Richardson 11 years ago
parent
commit
2cc0260c51
  1. 4
      lib/hdkey.js

4
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

Loading…
Cancel
Save