stellar / slingshot

A new blockchain architecture under active development, with a strong focus on scalability, privacy and safety
Apache License 2.0
415 stars 61 forks source link

p2p: remove cybershake::Error #420

Closed p0lunin closed 4 years ago

p0lunin commented 4 years ago

The cybershake::Error is mostly used where io::Error is needed, and so for a few places where we fail to decode a Ristretto point or the ciphertext is damaged we simply report InvalidData. After all, cybershake is an I/O middleware.