mirror of
https://github.com/PeernetOfficial/core.git
synced 2026-07-19 03:27:50 +01:00
Update congestion_native.go
Remove non-used lines
This commit is contained in:
@@ -87,7 +87,6 @@ func (ncc *NativeCongestionControl) OnACK(parms CongestionControlParms, ack pack
|
||||
}
|
||||
if ncc.loss {
|
||||
ncc.loss = false
|
||||
//parms.SetCongestionWindowSize(cWndSize)
|
||||
return
|
||||
}
|
||||
/*
|
||||
@@ -195,7 +194,6 @@ func (ncc *NativeCongestionControl) OnNAK(parms CongestionControlParms, losslist
|
||||
return
|
||||
}
|
||||
}
|
||||
//ncc.decCount++
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user