HD wallet versions: Bitcoin -> prod, BitcoinTest -> testnet

This commit is contained in:
Wei Lu 2014-02-28 14:27:31 +08:00
parent c352868080
commit 293c864f4f
3 changed files with 12 additions and 13 deletions

View file

@ -18,7 +18,7 @@ var Wallet = function (seed, options) {
if (!(this instanceof Wallet)) { return new Wallet(seed, options); }
var options = options || {}
var network = options.network || 'Bitcoin'
var network = options.network || 'prod'
// HD first-level child derivation method (i.e. public or private child key derivation)
// NB: if not specified, defaults to private child derivation