• Matthew Slipper's avatar
    op-node: Noop RemovePeer when closing (#13091) · 75a367fc
    Matthew Slipper authored
    Sometimes, disconnection events happen after the sync client is closed. This can (among other things) lead to panics in tests due to logs occurring after the test has exited. This PR makes RemovePeer a noop when `s.closingPeers == true`, which is the same functionality as `AddPeer`.
    75a367fc
Name
Last commit
Last update
..
benchmarks Loading commit data...
bindings Loading commit data...
chaincfg Loading commit data...
cmd Loading commit data...
flags Loading commit data...
metrics Loading commit data...
node Loading commit data...
p2p Loading commit data...
params Loading commit data...
rollup Loading commit data...
version Loading commit data...
withdrawals Loading commit data...
.gitignore Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
service.go Loading commit data...