chore: hysteria params verify

This commit is contained in:
gVisor bot 2022-06-25 12:43:47 +08:00
parent afeb80ea3d
commit 5d9b999fa0

View file

@ -93,7 +93,7 @@ func (c *HysteriaOption) Speed() (uint64, uint64, error) {
} }
down = stringToBps(c.Down) down = stringToBps(c.Down)
if up == 0 { if down == 0 {
return 0, 0, fmt.Errorf("invaild download speed: %s", c.Down) return 0, 0, fmt.Errorf("invaild download speed: %s", c.Down)
} }