Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
laruh committed Sep 5, 2024
1 parent cc7c963 commit 69ed68e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mm2src/mm2_test_helpers/src/for_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2346,7 +2346,6 @@ pub async fn wait_for_swap_negotiation_failure(mm: &MarketMakerIt, swap: &str, u
/// Helper function requesting my swap status and checking it's events
pub async fn check_my_swap_status(mm: &MarketMakerIt, uuid: &str, maker_amount: BigDecimal, taker_amount: BigDecimal) {
let status_response = my_swap_status(mm, uuid).await.unwrap();
log!("status_response:\n{:?}\n", status_response);
let swap_type = match status_response["result"]["type"].as_str() {
Some(t) => t,
None => return,
Expand All @@ -2358,7 +2357,6 @@ pub async fn check_my_swap_status(mm: &MarketMakerIt, uuid: &str, maker_amount:
} else {
assert_eq!(success_events, MAKER_SUCCESS_EVENTS)
}
log!("success_events:\n{:?}\n", success_events);

let expected_error_events = if swap_type == "Taker" {
TAKER_ERROR_EVENTS.to_vec()
Expand All @@ -2377,7 +2375,6 @@ pub async fn check_my_swap_status(mm: &MarketMakerIt, uuid: &str, maker_amount:
.iter()
.map(|item| item["event"]["type"].as_str().unwrap().to_string())
.collect::<Vec<String>>();
log!("actual_events:\n{:?}\n", actual_events);
assert!(actual_events.iter().all(|item| success_events.contains(item)));
}

Expand Down

0 comments on commit 69ed68e

Please sign in to comment.