-
Matthew Slipper authored
When the op-node is closed, it also closes the P2P node. To prevent future usage, `n.p2pNode` is set to `nil`. However, the AsyncGossiper can still sometimes send gossip messages to the `OpNode` struct after close. Since `n.p2pNode` is `nil` at this point, the node would panic. This PR updates the `OpNode` implementation to check for this case. Access is protected via a mutex to prevent concurrency problems.
51a036d2
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
benchmarks | ||
bindings | ||
chaincfg | ||
cmd | ||
flags | ||
metrics | ||
node | ||
p2p | ||
params | ||
rollup | ||
version | ||
withdrawals | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
service.go |