[client.keyset] Decrement() fixed remaining count

This commit is contained in:
xdrm-brackets 2018-04-23 18:06:55 +02:00
parent dc566d0942
commit 5a5fd89b52
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func (s *T) Decrement() uint16 {
} }
/* (3) Return remaining attempts */ /* (3) Return remaining attempts */
return s.depth - s.ctx.MaxDepth() return s.depth - s.ctx.MinDepth()
} }