• Davide Galassi's avatar
    Fix beefy mock ecdsa keys (#10854) · 6f53b974
    Davide Galassi authored
    Compressed ECDSA keys requires to have 0x02 or 0x03 as their first byte
    in order to allow public key recovery.
    
    Nevertheless the test was working because of the `unwrap_or_default()`
    at the end of the conversion routine (i.e. the invalid keys were
    converted to an empty vector).
    6f53b974