Skip to content

Commit 8601784

Browse files
committed
Merge #9291: Remove mapOrphanTransactionsByPrev from DoS_tests
819ca3f Remove mapOrphanTransactionsByPrev from DoS_tests (Pieter Wuille)
2 parents 9851a84 + 819ca3f commit 8601784

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/test/DoS_tests.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ struct COrphanTx {
3232
int64_t nTimeExpire;
3333
};
3434
extern std::map<uint256, COrphanTx> mapOrphanTransactions;
35-
extern std::map<uint256, std::set<uint256> > mapOrphanTransactionsByPrev;
3635

3736
CService ip(uint32_t i)
3837
{
@@ -203,7 +202,6 @@ BOOST_AUTO_TEST_CASE(DoS_mapOrphans)
203202
BOOST_CHECK(mapOrphanTransactions.size() <= 10);
204203
LimitOrphanTxSize(0);
205204
BOOST_CHECK(mapOrphanTransactions.empty());
206-
BOOST_CHECK(mapOrphanTransactionsByPrev.empty());
207205
}
208206

209207
BOOST_AUTO_TEST_SUITE_END()

0 commit comments

Comments
 (0)