mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
p2p/simulations: log warning on snapshot loading disconnection
This commit is contained in:
parent
3f5f1375b2
commit
7d1ad71b91
1 changed files with 1 additions and 0 deletions
|
|
@ -760,6 +760,7 @@ func (net *Network) Load(snap *Snapshot) error {
|
|||
// Delete the connection from the set of established connections.
|
||||
// This will prevent false positive in case disconnections happen.
|
||||
delete(connections, connection)
|
||||
log.Warn("load snapshot: unexpected disconnection", "one", e.Conn.One, "other", e.Conn.Other)
|
||||
continue
|
||||
}
|
||||
// Check that the connection is from the snapshot.
|
||||
|
|
|
|||
Loading…
Reference in a new issue