chore: hysteria params verify
This commit is contained in:
parent
afeb80ea3d
commit
5d9b999fa0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue