update bip32 root test

TODO update ROOT_WIF ... is that in the .gitignored wallet test parameters?
This commit is contained in:
sneurlax 2022-11-29 12:55:24 -06:00
parent 1d7147d330
commit e82a4d95fa

View file

@ -51,12 +51,12 @@ void main() {
group("bip32 node/root", () { group("bip32 node/root", () {
test("getBip32Root", () { test("getBip32Root", () {
final root = getBip32Root(TEST_MNEMONIC, namecoin); final root = getBip32Root(TEST_MNEMONIC, particl);
expect(root.toWIF(), ROOT_WIF); expect(root.toWIF(), ROOT_WIF);
}); });
// test("getBip32NodeFromRoot", () { // test("getBip32NodeFromRoot", () {
// final root = getBip32Root(TEST_MNEMONIC, namecoin); // final root = getBip32Root(TEST_MNEMONIC, particl);
// // two mainnet // // two mainnet
// final node44 = getBip32NodeFromRoot(0, 0, root, DerivePathType.bip44); // final node44 = getBip32NodeFromRoot(0, 0, root, DerivePathType.bip44);
// expect(node44.toWIF(), NODE_WIF_44); // expect(node44.toWIF(), NODE_WIF_44);