mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-05-20 15:40:48 -04:00
Remove Tx
arguments from add_signatures
functions
The only reason we need this argument is because we need to access the output descriptor. We can save that one ahead of time at when we construct the type.
This commit is contained in:
parent
0f8fbd087f
commit
6c38d66864
9 changed files with 28 additions and 31 deletions
|
@ -205,7 +205,7 @@ impl From<Alice> for AliceState {
|
|||
let tx_refund = TxRefund::new(&tx_cancel, &state3.refund_address);
|
||||
AliceState::BtcPunishable {
|
||||
monero_wallet_restore_blockheight,
|
||||
tx_refund,
|
||||
tx_refund: Box::new(tx_refund),
|
||||
state3: Box::new(state3),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue