Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/ed25519-hd-key.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
// non-file scope variable names
const { getPublicKey, derivePath, getMasterKeyFromSeed } = require('../dist/ed25519-kd-key');
const { getKeyPair, derivePath, getMasterKeyFromSeed } = require('../dist/ed25519-kd-key');

const vector_1_seed = '000102030405060708090a0b0c0d0e0f';
const vector_1 = [
Expand Down Expand Up @@ -85,7 +85,7 @@
path: vector.path,
key: key.toString('hex'),
chainCode: chainCode.toString('hex'),
publicKey: (await getPublicKey(key, true)).toString('hex')
publicKey: (await getKeyPair(key, true)).publicKey.toString('hex')
}).toEqual(vector);
});
});
Expand All @@ -104,7 +104,7 @@
path: vector.path,
key: key.toString('hex'),
chainCode: chainCode.toString('hex'),
publicKey: (await getPublicKey(key, true)).toString('hex')
publicKey: (await getKeyPair(key, true)).publicKey.toString('hex')
}).toEqual(vector);
});
});
Expand Down