Skip to content

Commit

Permalink
broadcast every 30s instead of 600s
Browse files Browse the repository at this point in the history
  • Loading branch information
mariocynicys committed Jul 5, 2024
1 parent db11ed9 commit c68b87a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mm2src/mm2_main/src/lp_swap/taker_swap_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1339,9 +1339,7 @@ impl<MakerCoin: MmCoin + MakerCoinSwapOpsV2, TakerCoin: MmCoin + TakerCoinSwapOp
state_machine.ctx.clone(),
state_machine.p2p_topic.clone(),
swap_msg,
// FIXME: This number is greater than `NEGOTIATION_TIMEOUT_SEC`, is this intentional to send the message only one time?
// We can use `NEGOTIATION_TIMEOUT_SEC + x` then to make it clear (and error-proof).
600.,
NEGOTIATION_TIMEOUT_SEC / 3,
state_machine.p2p_keypair,
);

Expand Down

0 comments on commit c68b87a

Please sign in to comment.