Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 3: [PATCH 03/68] feat(policy): preserve Roots relay and network controls on Core 30.3

src/node/mempool_persist.cpp

Before: src/node/mempool_persist.cpp · After: src/node/mempool_persist.cpp

File metadata
index 19819a3af23a3c452f6e72b58f13f6c1142210f5..7d49a4d861802de28a83b7691bc0024aa0dc0ce0 100644

Download original patch · Release notes

Diff rows 1–8 of 8. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/node/mempool_persist.cpp CHANGED
@@ -164,7 +164,7 @@ bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path, FopenFn mock
164
  {
165
  LOCK(pool.cs);
166
  for (const auto &i : pool.mapDeltas) {
167
- mapDeltas[i.first] = i.second;
168
  }
169
  vinfo = pool.infoAll();
170
  unbroadcast_txids = pool.GetUnbroadcastTxs();
 
164
  {
165
  LOCK(pool.cs);
166
  for (const auto &i : pool.mapDeltas) {
167
+ mapDeltas[i.first] = i.second.second;
168
  }
169
  vinfo = pool.infoAll();
170
  unbroadcast_txids = pool.GetUnbroadcastTxs();