Сryptocurrency development analysis

# Expected behavior

If two peer objects with the same nonce are added to the peer manager and the previous peer object’s socket exists, then destroy the socket from the existing peer.

### Actual behavior

It’s possible for two peer objects with the same nonce can get added to the peer manager and that causes the socket on the old peer object to leak.

### Steps to reproduce

Check nodes on betanet.

### Which version(s) does this affect? (Environment, OS, etc…)

Latest betanet.

Запись редактировалась последний раз: May 7, 2018, 10:55 pm

Рубрики: cryptocurrency