Skip to content

Commit

Permalink
use TakerSwapCommand::SpendMakerPayment => check_maker_payment_spend_…
Browse files Browse the repository at this point in the history
…and_add_event(ctx, swap, saved).await in taker restart
  • Loading branch information
laruh committed Sep 5, 2024
1 parent 3af96a5 commit 1c3c935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm2src/mm2_main/src/lp_swap/taker_restart.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub async fn get_command_based_on_maker_or_watcher_activity(
Ok(None) => Ok(command),
Err(e) => ERR!("Error {} when trying to find taker payment spend", e),
},
TakerSwapCommand::SpendMakerPayment => Ok(command),
TakerSwapCommand::SpendMakerPayment => check_maker_payment_spend_and_add_event(ctx, swap, saved).await,
TakerSwapCommand::ConfirmMakerPaymentSpend => Ok(command),
TakerSwapCommand::PrepareForTakerPaymentRefund | TakerSwapCommand::RefundTakerPayment => {
#[cfg(not(any(test, feature = "run-docker-tests")))]
Expand Down

0 comments on commit 1c3c935

Please sign in to comment.