fix: use Get/PutUInt
This commit is contained in:
parent
3ddf2595b9
commit
d76bfc6daf
|
@ -216,9 +216,9 @@ func (p *P2PImpl) ConnectToNode(connectionUris []*url.URL, retried bool, fromPee
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
reconnectDelay := p.reconnectDelay.GetInt(idString)
|
reconnectDelay := p.reconnectDelay.GetUInt(idString)
|
||||||
if reconnectDelay == nil {
|
if reconnectDelay == nil {
|
||||||
delay := 1
|
delay := uint(1)
|
||||||
reconnectDelay = &delay
|
reconnectDelay = &delay
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue