Skip to content

Commit

Permalink
Better group some testing code
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewLM committed Aug 9, 2023
1 parent 2fa9cf5 commit 6132ace
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions coinlib/test/crypto/hd_key_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -199,19 +199,16 @@ void main() {
test("derivePath()", () {

final derived = masterHDKey.derivePath("m/0'/1/2'/2/1000000000");

expectPriv(derived);
hdVectors[0][5].expectHDPrivateKey(derived);

final pubDerived = HDPublicKey.decode(hdVectors[0][3].pubEncoded, pubPrefix)
.derivePath("2/1000000000");

expectPub(pubDerived);
hdVectors[0][5].expectHDKey(pubDerived);

final pubMasterDerived =
HDPublicKey.decode(hdVectors[1][0].pubEncoded, pubPrefix).derivePath("m/0");

expectPub(pubMasterDerived);
hdVectors[1][1].expectHDKey(pubMasterDerived);

Expand Down

0 comments on commit 6132ace

Please sign in to comment.