Skip to content

Commit 69bd18c

Browse files
committed
unit test: check tx4 conflict error message
1 parent c0c37f0 commit 69bd18c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rbf_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ BOOST_FIXTURE_TEST_CASE(rbf_helper_functions, TestChain100Setup)
261261
// Tests for CheckConflictTopology
262262

263263
// Tx4 has 23 descendants
264-
BOOST_CHECK(pool.CheckConflictTopology(set_34_cpfp).has_value());
264+
BOOST_CHECK_EQUAL(pool.CheckConflictTopology(set_34_cpfp).value(), strprintf("%s has 23 descendants, max 1 allowed", entry4_high->GetSharedTx()->GetHash().ToString()));
265265

266266
// No descendants yet
267267
BOOST_CHECK(pool.CheckConflictTopology({entry9_unchained}) == std::nullopt);

0 commit comments

Comments
 (0)