Commit cfee166
fix: use pub_key() instead of peer() in connect tracing
The acceptor's PeerAddr is intentionally Unknown (NAT scenario) since
the local peer doesn't know its external address yet. Use pub_key()
instead of peer() to avoid panics on unknown addresses.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent ed93d91 commit cfee166
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
0 commit comments