mirror of
https://github.com/status-im/whisper.git
synced 2025-02-22 23:48:09 +00:00
ToECDSAPub was unsafe because it returned a non-nil key with nil X, Y in case of invalid input. This change replaces ToECDSAPub with UnmarshalPubkey across the codebase.