mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 06:08:52 +00:00
Merge pull request #2016
d1db3251
Fix overlooked renaming of Português in the unit tests (Nano Akron)
This commit is contained in:
commit
40eb22aeb4
@ -192,9 +192,9 @@ TEST(mnemonics, language_detection_with_bad_checksum)
|
|||||||
|
|
||||||
res = crypto::ElectrumWords::words_to_bytes(base_seed, key, language_name);
|
res = crypto::ElectrumWords::words_to_bytes(base_seed, key, language_name);
|
||||||
ASSERT_EQ(true, res);
|
ASSERT_EQ(true, res);
|
||||||
ASSERT_STREQ(language_name.c_str(), "Portuguese");
|
ASSERT_STREQ(language_name.c_str(), "Português");
|
||||||
|
|
||||||
res = crypto::ElectrumWords::words_to_bytes(base_seed + " " + real_checksum, key, language_name);
|
res = crypto::ElectrumWords::words_to_bytes(base_seed + " " + real_checksum, key, language_name);
|
||||||
ASSERT_EQ(true, res);
|
ASSERT_EQ(true, res);
|
||||||
ASSERT_STREQ(language_name.c_str(), "Portuguese");
|
ASSERT_STREQ(language_name.c_str(), "Português");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user