Preemptively box cancel tx to avoid size difference in enum

This commit is contained in:
Franck Royer 2021-02-08 14:18:33 +11:00
parent 69363e43a3
commit 39a46baa2c
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
3 changed files with 6 additions and 3 deletions

View file

@ -150,7 +150,7 @@ impl From<Alice> for AliceState {
AliceState::BtcCancelled {
state3: Box::new(state),
tx_cancel,
tx_cancel: Box::new(tx_cancel),
}
}
Alice::BtcPunishable(state3) => {