0diff --git a/src/node/txdownloadman_impl.cpp b/src/node/txdownloadman_impl.cpp
1index 8db30d21d1..a514ac8143 100644
2--- a/src/node/txdownloadman_impl.cpp
3+++ b/src/node/txdownloadman_impl.cpp
4@@ -275,12 +275,12 @@ std::vector<GenTxidVariant> TxDownloadManagerImpl::GetRequestsToSend(NodeId node
5 auto requestable = m_txrequest.GetRequestable(nodeid, current_time, &expired);
6 for (const auto& entry : expired) {
7 LogDebug(BCLog::NET, "timeout of inflight %s %s from peer=%d\n", entry.second.IsWtxid() ? "wtx" : "tx",
8- entry.second.ToUint256().ToString(), entry.first);
9+ entry.second.ToUint256().ToString(), entry.first);
10 }
11 for (const GenTxidVariant& gtxid : requestable) {
12 if (!AlreadyHaveTx(gtxid, /*include_reconsiderable=*/false)) {
13 LogDebug(BCLog::NET, "Requesting %s %s peer=%d\n", gtxid.IsWtxid() ? "wtx" : "tx",
14- gtxid.ToUint256().ToString(), nodeid);
15+ gtxid.ToUint256().ToString(), nodeid);
16 requests.emplace_back(gtxid);
17 m_txrequest.RequestedTx(nodeid, gtxid, current_time + GETDATA_TX_INTERVAL);
18 } else {
19diff --git a/src/test/txrequest_tests.cpp b/src/test/txrequest_tests.cpp
20index 298586db37..e6b3e8bc15 100644
21--- a/src/test/txrequest_tests.cpp
22+++ b/src/test/txrequest_tests.cpp
23@@ -161,17 +161,18 @@ public:
24 * backwards (but note that the ordering of this event only follows the scenario's m_now.
25 */
26 void Check(NodeId peer, const std::vector<GenTxidVariant>& expected, size_t candidates, size_t inflight,
27- size_t completed, const std::string& checkname,
28- std::chrono::microseconds offset = std::chrono::microseconds{0})
29+ size_t completed, const std::string& checkname,
30+ std::chrono::microseconds offset = std::chrono::microseconds{0})
31 {
32 const auto comment = m_testname + " " + checkname;
33 auto& runner = m_runner;
34 const auto now = m_now;
35 assert(offset.count() <= 0);
36- runner.actions.emplace_back(m_now, [=,&runner]() {
37+ runner.actions.emplace_back(m_now, [=, &runner]() {
38 std::vector<std::pair<NodeId, GenTxidVariant>> expired_now;
39 auto ret = runner.txrequest.GetRequestable(peer, now + offset, &expired_now);
40- for (const auto& entry : expired_now) runner.expired.insert(entry);
41+ for (const auto& entry : expired_now)
42+ runner.expired.insert(entry);
43 runner.txrequest.SanityCheck();
44 runner.txrequest.PostGetRequestableSanityCheck(now + offset);
45 size_t total = candidates + inflight + completed;
46@@ -193,7 +194,7 @@ public:
47 {
48 const auto& testname = m_testname;
49 auto& runner = m_runner;
50- runner.actions.emplace_back(m_now, [=,&runner]() {
51+ runner.actions.emplace_back(m_now, [=, &runner]() {
52 auto it = runner.expired.find(std::pair<NodeId, GenTxidVariant>{peer, gtxid});
53 BOOST_CHECK_MESSAGE(it != runner.expired.end(), "[" + testname + "] missing expiration");
54 if (it != runner.expired.end()) runner.expired.erase(it);
55diff --git a/src/txrequest.cpp b/src/txrequest.cpp
56index ec2ebe978b..0d0e7543d1 100644
57--- a/src/txrequest.cpp
58+++ b/src/txrequest.cpp
59@@ -575,7 +575,7 @@ public:
60 }
61
62 void ReceivedInv(NodeId peer, const GenTxidVariant& gtxid, bool preferred,
63- std::chrono::microseconds reqtime)
64+ std::chrono::microseconds reqtime)
65 {
66 // Bail out if we already have a CANDIDATE_BEST announcement for this (txhash, peer) combination. The case
67 // where there is a non-CANDIDATE_BEST announcement already will be caught by the uniqueness property of the
68@@ -595,7 +595,7 @@ public:
69
70 //! Find the GenTxids to request now from peer.
71 std::vector<GenTxidVariant> GetRequestable(NodeId peer, std::chrono::microseconds now,
72- std::vector<std::pair<NodeId, GenTxidVariant>>* expired)
73+ std::vector<std::pair<NodeId, GenTxidVariant>>* expired)
74 {
75 // Move time.
76 SetTimePoint(now, expired);
77@@ -730,7 +730,7 @@ void TxRequestTracker::PostGetRequestableSanityCheck(std::chrono::microseconds n
78 }
79
80 void TxRequestTracker::ReceivedInv(NodeId peer, const GenTxidVariant& gtxid, bool preferred,
81- std::chrono::microseconds reqtime)
82+ std::chrono::microseconds reqtime)
83 {
84 m_impl->ReceivedInv(peer, gtxid, preferred, reqtime);
85 }
86@@ -746,7 +746,7 @@ void TxRequestTracker::ReceivedResponse(NodeId peer, const GenTxidVariant& txhas
87 }
88
89 std::vector<GenTxidVariant> TxRequestTracker::GetRequestable(NodeId peer, std::chrono::microseconds now,
90- std::vector<std::pair<NodeId, GenTxidVariant>>* expired)
91+ std::vector<std::pair<NodeId, GenTxidVariant>>* expired)
92 {
93 return m_impl->GetRequestable(peer, now, expired);
94 }
95diff --git a/src/txrequest.h b/src/txrequest.h
96index f32fb1f2b9..3f2acef3a3 100644
97--- a/src/txrequest.h
98+++ b/src/txrequest.h
99@@ -133,7 +133,7 @@ public:
100 * from the specified gtxid.
101 */
102 void ReceivedInv(NodeId peer, const GenTxidVariant& gtxid, bool preferred,
103- std::chrono::microseconds reqtime);
104+ std::chrono::microseconds reqtime);
105
106 /** Deletes all announcements for a given peer.
107 *
108@@ -164,7 +164,7 @@ public:
109 * simultaneously by one peer, and end up being requested from them, the requests will happen in announcement order.
110 */
111 std::vector<GenTxidVariant> GetRequestable(NodeId peer, std::chrono::microseconds now,
112- std::vector<std::pair<NodeId, GenTxidVariant>>* expired = nullptr);
113+ std::vector<std::pair<NodeId, GenTxidVariant>>* expired = nullptr);
114
115 /** Marks a transaction as requested, with a specified expiry.
116 *