Commit a891b78
authored
fix(l2): peer table duplication (#5227)
**Motivation**
PR #5004 led to changes in `init_l2()` that weren't properly updated, so
now when initializing L2 there are 2 Peer Tables.
**Description**
This pr uses the Peer Table created in the first place to initialize the
Peer Handler instead of creating a new one.
It also updates the gen server initialization for the gen server dummy.1 parent 16b4297 commit a891b78
File tree
2 files changed
+2
-2
lines changed- cmd/ethrex/l2
- crates/networking/p2p/rlpx
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
| 237 | + | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments