mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-07-14 02:29:53 -04:00
fix error
This commit is contained in:
parent
3b575a37b8
commit
a2f7de24ac
1 changed files with 4 additions and 3 deletions
|
@ -670,9 +670,10 @@ impl State6 {
|
|||
&self,
|
||||
bitcoin_wallet: &bitcoin::Wallet,
|
||||
) -> Result<(Txid, Subscription)> {
|
||||
let transaction = self.construct_tx_cancel()?
|
||||
.complete_as_bob(self.A, self.b.clone(), self.tx_cancel_sig_a.clone())
|
||||
.context("Failed to complete Bitcoin cancel transaction")?;
|
||||
let transaction = self
|
||||
.construct_tx_cancel()?
|
||||
.complete_as_bob(self.A, self.b.clone(), self.tx_cancel_sig_a.clone())
|
||||
.context("Failed to complete Bitcoin cancel transaction")?;
|
||||
|
||||
let (tx_id, subscription) = bitcoin_wallet.broadcast(transaction, "cancel").await?;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue