Skip to content

Commit

Permalink
DEBUG: See if Mac compiler swallows this.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodlinator committed Aug 21, 2024
1 parent 28a80db commit 488887c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/test/transaction_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ BOOST_AUTO_TEST_CASE(test_IsStandard)
CheckIsNotStandard(t, "scriptpubkey");

// Data payload can be encoded in any way...
t.vout[0].scriptPubKey = CScript() << OP_RETURN << ""_hex_v_u8;
t.vout[0].scriptPubKey = CScript() << OP_RETURN << /*""_hex_v_u8*/valtype{};
CheckIsStandard(t);
t.vout[0].scriptPubKey = CScript() << OP_RETURN << "00"_hex_v_u8 << "01"_hex_v_u8;
CheckIsStandard(t);
Expand Down
4 changes: 2 additions & 2 deletions src/test/util_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,10 @@ BOOST_AUTO_TEST_CASE(parse_hex)
BOOST_CHECK_EQUAL_COLLECTIONS(result.begin(), result.end(), expected.begin(), expected.end());

// Empty string is supported
BOOST_CHECK_EQUAL(""_hex.size(), 0);
/*BOOST_CHECK_EQUAL(""_hex.size(), 0);
BOOST_CHECK_EQUAL(""_hex_u8.size(), 0);
BOOST_CHECK_EQUAL(""_hex_v.size(), 0);
BOOST_CHECK_EQUAL(""_hex_v_u8.size(), 0);
BOOST_CHECK_EQUAL(""_hex_v_u8.size(), 0);*/
BOOST_CHECK_EQUAL(ParseHex("").size(), 0);
BOOST_CHECK_EQUAL(TryParseHex<uint8_t>("").value().size(), 0);

Expand Down

0 comments on commit 488887c

Please sign in to comment.