stakwork / sphinx-rs

Rust crates for Sphinx Chat
0 stars 0 forks source link

bug in deserialize_lssres #28

Closed Evanfeenstra closed 11 months ago

Evanfeenstra commented 11 months ago

https://github.com/stakwork/sphinx-rs/blob/better-types/lss-connector/src/msgs.rs#L177

@irriden shouldn't this be let binary = rmp::deserialize_bin(&mut bytes, Some("nonce"), 32)?;. It looks like you are copying the auth_token binary into the nonce bytes

Question is, why didn't the tests find this