Tighten up bech32::Decode(); add tests.

This commit is contained in:
murrayn
2018-04-04 03:24:25 -07:00
parent ad960f5771
commit 60f61f9952
2 changed files with 6 additions and 3 deletions

View File

@@ -57,6 +57,8 @@ BOOST_AUTO_TEST_CASE(bip173_testvectors_invalid)
"A1G7SGD8",
"10a06t8",
"1qzzfhee",
"a12UEL5L",
"A12uEL5L",
};
for (const std::string& str : CASES) {
auto ret = bech32::Decode(str);