v29.4-roots.2 · Commit 3: [PATCH 03/21] policy: restore conservative relay and network controls
src/node/mempool_persist.cpp
Before: src/node/mempool_persist.cpp · After: src/node/mempool_persist.cpp
File metadata
index ff7de8c64a25906535520cfece04b8f6627aa496..4c78f99a121c9bc8624dee01cdb10766ff6a6838 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
|
@@ -160,7 +160,7 @@ bool DumpMempool(const CTxMemPool& pool, const fs::path& dump_path, FopenFn mock
|
|
| 160 |
{
|
| 161 |
LOCK(pool.cs);
|
| 162 |
for (const auto &i : pool.mapDeltas) {
|
| 163 |
-
mapDeltas[i.first] = i.second;
|
| 164 |
}
|
| 165 |
vinfo = pool.infoAll();
|
| 166 |
unbroadcast_txids = pool.GetUnbroadcastTxs();
|
|
|
|
| 160 |
{
|
| 161 |
LOCK(pool.cs);
|
| 162 |
for (const auto &i : pool.mapDeltas) {
|
| 163 |
+
mapDeltas[i.first] = i.second.second;
|
| 164 |
}
|
| 165 |
vinfo = pool.infoAll();
|
| 166 |
unbroadcast_txids = pool.GetUnbroadcastTxs();
|