Skip to content

Commit

Permalink
UtxoStandardCoin wait_for_maker_payment_spend
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Sep 24, 2024
1 parent 1ef0f43 commit 638afd2
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions mm2src/coins/utxo/utxo_standard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -666,11 +666,20 @@ impl MakerCoinSwapOpsV2 for UtxoStandardCoin {

async fn wait_for_maker_payment_spend(
&self,
_maker_payment: &Self::Tx,
_from_block: u64,
_wait_until: u64,
maker_payment: &Self::Tx,
from_block: u64,
wait_until: u64,
) -> MmResult<Self::Tx, WaitForPaymentSpendError> {
todo!()
let res = utxo_common::wait_for_output_spend_impl(
self.as_ref(),
maker_payment,
utxo_common::DEFAULT_SWAP_VOUT,
from_block,
wait_until,
10.,
)
.await?;
Ok(res)
}
}

Expand Down

0 comments on commit 638afd2

Please sign in to comment.