Closed Evanfeenstra closed 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
let binary = rmp::deserialize_bin(&mut bytes, Some("nonce"), 32)?;
binary
nonce
Question is, why didn't the tests find this
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_tokenbinary
into thenonce
bytesQuestion is, why didn't the tests find this