masterkey: minor.
This commit is contained in:
parent
9dc6ebd8cf
commit
a43a2102e6
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user