fix: use Get/PutUInt

This commit is contained in:
Derrick Hammer 2024-01-15 13:10:15 -05:00
parent 3ddf2595b9
commit d76bfc6daf
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -216,9 +216,9 @@ func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool, fromPee
return nil
}
reconnectDelay := p.reconnectDelay.GetInt(idString)
reconnectDelay := p.reconnectDelay.GetUInt(idString)
if reconnectDelay == nil {
delay := 1
delay := uint(1)
reconnectDelay = &delay
}