aboutsummaryrefslogtreecommitdiff
path: root/src/test/bech32_tests.cpp
diff options
context:
space:
mode:
authormurrayn <github@nesbitt.ca>2018-04-04 03:24:25 -0700
committermurrayn <github@nesbitt.ca>2018-04-12 17:52:33 -0700
commit60f61f99529f54f85c847d61122c70c0358ebecc (patch)
treef48afc9cb38f55bb1f99331b3c7ecf0bd97733b8 /src/test/bech32_tests.cpp
parentad960f5771dc251c8e1198dd8a82e18df4562171 (diff)
downloadbitcoin-60f61f99529f54f85c847d61122c70c0358ebecc.tar.xz
Tighten up bech32::Decode(); add tests.
Diffstat (limited to 'src/test/bech32_tests.cpp')
-rw-r--r--src/test/bech32_tests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/bech32_tests.cpp b/src/test/bech32_tests.cpp
index 495290c8d9..22b77e3098 100644
--- a/src/test/bech32_tests.cpp
+++ b/src/test/bech32_tests.cpp
@@ -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);