Align Alice DB states with swap states

This commit is contained in:
Franck Royer 2020-12-22 16:28:14 +11:00
parent a31db63e54
commit 69e1c2bb27
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
6 changed files with 68 additions and 24 deletions

View file

@ -435,7 +435,7 @@ impl State {
}
}
#[derive(Clone, Debug, Deserialize, Serialize)]
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq)]
pub struct State0 {
pub a: bitcoin::SecretKey,
pub s_a: cross_curve_dleq::Scalar,