fix: use PutUInt

This commit is contained in:
Derrick Hammer 2024-01-15 14:13:27 -05:00
parent 1b6925c296
commit dced32ab21
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -575,7 +575,7 @@ func (p *P2PImpl) AddPeer(peer net.Peer) error {
return err
}
p.peers.Put(peerId, peer)
p.reconnectDelay.Put(peerId, 1)
p.reconnectDelay.PutUInt(peerId, 1)
if p.peersPending.Contains(peerId) {
p.peersPending.Remove(peerId)