File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ BOOST_AUTO_TEST_CASE(mnemonic__decode_mnemonic__bx)
5656 for (const auto & vector: mnemonic_bx_to_seed_vectors)
5757 {
5858 const auto words = split (vector.mnemonic , " ," );
59- BOOST_REQUIRE (validate_mnemonic (words));
59+ BOOST_REQUIRE (validate_mnemonic (words, vector. language ));
6060 const auto seed = decode_mnemonic (words, vector.passphrase );
6161 BOOST_REQUIRE_EQUAL (encode_base16 (seed), vector.seed );
6262 }
@@ -86,7 +86,7 @@ BOOST_AUTO_TEST_CASE(mnemonic__create_mnemonic__bx)
8686 const auto mnemonic = create_mnemonic (entropy, vector.language );
8787 BOOST_REQUIRE (mnemonic.size () > 0 );
8888 BOOST_REQUIRE_EQUAL (join (mnemonic, " ," ), vector.mnemonic );
89- BOOST_REQUIRE (validate_mnemonic (mnemonic));
89+ BOOST_REQUIRE (validate_mnemonic (mnemonic, vector. language ));
9090 }
9191}
9292
You can’t perform that action at this time.
0 commit comments