nym icon indicating copy to clipboard operation
nym copied to clipboard

Make gateway handshake's `InitMessage` deserialize directly into the needed structures

Open neacsu opened this issue 4 years ago • 0 comments

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.

neacsu avatar Aug 06 '21 16:08 neacsu