• Kirill Smelkov's avatar
    decoder: Don't skip errors in ASCII long format · 6d5eaca2
    Kirill Smelkov authored
    1. the number has to be terminated with 'L' - check it
       (previously last byte was simply discarded)
    
    2. big.Int.SetString() ok code has to be checked too to catch invalid
       input.
    
    big.Int.SetString() usage in test adjusted to also not skip errors
    silently.
    6d5eaca2
ogorek_test.go 16.1 KB