From 609c0fe44f8eb952684f4f10b6f877b82d63118c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:03:49 +0000 Subject: [PATCH 1/2] Initial plan From 7482928bf5fdc211e3f53c691e02f0542812f34a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:13:38 +0000 Subject: [PATCH 2/2] Fix iterator usage bug in CNetFulfilledRequestManager::RemoveAllFulfilledRequests Co-authored-by: PastaPastaPasta <6443210+PastaPastaPasta@users.noreply.github.com> --- src/netfulfilledman.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/netfulfilledman.cpp b/src/netfulfilledman.cpp index 8e68dca02db77..f598fd6d82fda 100644 --- a/src/netfulfilledman.cpp +++ b/src/netfulfilledman.cpp @@ -50,7 +50,7 @@ void CNetFulfilledRequestManager::RemoveAllFulfilledRequests(const CService& add fulfilledreqmap_t::iterator it = mapFulfilledRequests.find(addr); if (it != mapFulfilledRequests.end()) { - mapFulfilledRequests.erase(it++); + mapFulfilledRequests.erase(it); } }