DannielWhatever / emvqr

help to work with emv qr code specification for digital payments
10 stars 11 forks source link

Fix: Infinite loop when input is invalid #7

Closed Lakshman1996 closed 3 years ago

Lakshman1996 commented 3 years ago

Exception Handling when the input data is not a valid EMV Data

For example: Input -> 'XXXXX' goes into infinite loop without exit condition Fix: If len in not of type number then throw error