masterkey: minor.

This commit is contained in:
Christopher Jeffrey 2017-11-28 00:18:49 -08:00
parent 9dc6ebd8cf
commit a43a2102e6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -18,7 +18,8 @@ const secp256k1 = require('bcrypto/lib/secp256k1');
const pbkdf2 = require('bcrypto/lib/pbkdf2');
const scrypt = require('bcrypto/lib/scrypt');
const util = require('../utils/util');
const {HDPrivateKey, Mnemonic} = require('../hd/hd');
const HDPrivateKey = require('../hd/private');
const Mnemonic = require('../hd/mnemonic');
const {encoding} = bio;
/**
@ -103,7 +104,7 @@ class MasterKey {
if (options.rounds != null) {
assert((options.rounds >>> 0) === options.rounds);
this.n = options.rounds;
this.rounds = options.rounds;
}
if (options.n != null) {