mirror of
https://github.com/status-im/status-go.git
synced 2025-02-04 19:04:16 +00:00
fa526e7444
It could happen when we found multiple relevant peers and they were processed before discv5 closed. For example we have max limit of 1: - found peer A and B in the same kademlia cycle - process peer A - max limit is reached -> closed discv5 and set it to nil - process peer B - panic!!!