|
@ -1445,7 +1445,6 @@ impl Dlc { |
|
|
pub fn close_transaction( |
|
|
pub fn close_transaction( |
|
|
&self, |
|
|
&self, |
|
|
proposal: &crate::model::cfd::SettlementProposal, |
|
|
proposal: &crate::model::cfd::SettlementProposal, |
|
|
fee_rate: u32, |
|
|
|
|
|
) -> Result<(Transaction, Signature)> { |
|
|
) -> Result<(Transaction, Signature)> { |
|
|
let (lock_tx, lock_desc) = &self.lock; |
|
|
let (lock_tx, lock_desc) = &self.lock; |
|
|
let (lock_outpoint, lock_amount) = { |
|
|
let (lock_outpoint, lock_amount) = { |
|
@ -1462,7 +1461,6 @@ impl Dlc { |
|
|
lock_amount, |
|
|
lock_amount, |
|
|
(&self.maker_address, proposal.maker), |
|
|
(&self.maker_address, proposal.maker), |
|
|
(&self.taker_address, proposal.taker), |
|
|
(&self.taker_address, proposal.taker), |
|
|
fee_rate, |
|
|
|
|
|
) |
|
|
) |
|
|
.context("Unable to collaborative close transaction")?; |
|
|
.context("Unable to collaborative close transaction")?; |
|
|
|
|
|
|
|
|