[client.keyset] Decrement() fixed remaining count
This commit is contained in:
parent
dc566d0942
commit
5a5fd89b52
|
@ -85,7 +85,7 @@ func (s *T) Decrement() uint16 {
|
|||
}
|
||||
|
||||
/* (3) Return remaining attempts */
|
||||
return s.depth - s.ctx.MaxDepth()
|
||||
return s.depth - s.ctx.MinDepth()
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue