We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b0060d commit ab66c98Copy full SHA for ab66c98
test/hdnode.js
@@ -23,6 +23,13 @@ describe('HDNode', function () {
23
chainCode.fill(1)
24
})
25
26
+ it('stores the keyPair/chainCode directly', function () {
27
+ var hd = new HDNode(keyPair, chainCode)
28
+
29
+ assert.strictEqual(hd.keyPair, keyPair)
30
+ assert.strictEqual(hd.chainCode, chainCode)
31
+ })
32
33
it('has a default depth/index of 0', function () {
34
var hd = new HDNode(keyPair, chainCode)
35
0 commit comments