It fixes the verify function of time based OTP module, two return function was called at the same time first one is returning true and next is returning false which was hindering the process of verification.
The PR should include a unit test that makes sure that things work correctly. - Once you write that, you will see that your code is not correct. (It always returns from the first loop iteration.)
What does this implement/fix ?
It fixes the verify function of time based OTP module, two return function was called at the same time first one is returning true and next is returning false which was hindering the process of verification.