nym
nym copied to clipboard
Make gateway handshake's `InitMessage` deserialize directly into the needed structures
Starting the conversation from https://github.com/nymtech/nym/pull/679#discussion_r675458771 , we can improve InitMessage by having its elements deserialize directly into identity::PublicKey, encryption::PublicKey etc., without unwrap-ing from Vec<u8>s later.