mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-27 19:20:32 -05:00
Derive Clone/ on initial states and messages
This commit is contained in:
parent
08ec776daa
commit
f22729c5da
4 changed files with 12 additions and 12 deletions
|
|
@ -102,7 +102,7 @@ impl_from_child_enum!(State3, State);
|
|||
impl_from_child_enum!(State4, State);
|
||||
impl_from_child_enum!(State5, State);
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct State0 {
|
||||
b: bitcoin::SecretKey,
|
||||
s_b: cross_curve_dleq::Scalar,
|
||||
|
|
@ -190,7 +190,7 @@ impl State0 {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct State1 {
|
||||
A: bitcoin::PublicKey,
|
||||
b: bitcoin::SecretKey,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue