Use blktest and blkreg in CashAddr tests
This commit is contained in:
@@ -47,7 +47,7 @@ BOOST_AUTO_TEST_CASE(cashaddr_testvectors_valid)
|
||||
{
|
||||
static const std::string CASES[] = {
|
||||
"prefix:x64nx6hz", "PREFIX:X64NX6HZ", "p:gpf8m4h7", "blackcoin:qpzry9x8gf2tvdw0s3jn54khce6mua7lcw20ayyn",
|
||||
"bchtest:testnetaddress4d6njnut", "bchreg:555555555555555555555555555555555555555555555udxmlmrz",
|
||||
"blktest:testnetaddress4d6njnut", "blkreg:555555555555555555555555555555555555555555555udxmlmrz",
|
||||
};
|
||||
|
||||
for (const std::string &str : CASES)
|
||||
@@ -64,8 +64,8 @@ BOOST_AUTO_TEST_CASE(cashaddr_testvectors_invalid)
|
||||
{
|
||||
static const std::string CASES[] = {
|
||||
"prefix:x32nx6hz", "prEfix:x64nx6hz", "prefix:x64nx6Hz", "pref1x:6m8cxv73", "prefix:", ":u9wsx07j",
|
||||
"bchreg:555555555555555555x55555555555555555555555555udxmlmrz",
|
||||
"bchreg:555555555555555555555555555555551555555555555udxmlmrz", "pre:fix:x32nx6hz", "prefixx64nx6hz",
|
||||
"blkreg:555555555555555555x55555555555555555555555555udxmlmrz",
|
||||
"blkreg:555555555555555555555555555555551555555555555udxmlmrz", "pre:fix:x32nx6hz", "prefixx64nx6hz",
|
||||
};
|
||||
|
||||
for (const std::string &str : CASES)
|
||||
|
||||
Reference in New Issue
Block a user