forked from comit-network/xmr-btc-swap
-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Labels
BobRelated to the taker state machineRelated to the taker state machinerefactoringRelated to refactorings. No new features are added.Related to refactorings. No new features are added.
Description
Sometimes we emit the swap progress event of e.g. BtcRefunded before transitioning into that state, sometimes we emit it once inside that state (e.g. BtcCancelled). The second one is better because of less duplicated code incase we transition into a state from multiple other states.
We should also think about emitting the pure state-transition events which correspond very closely to the state machine from the function that calls next_state.
Metadata
Metadata
Assignees
Labels
BobRelated to the taker state machineRelated to the taker state machinerefactoringRelated to refactorings. No new features are added.Related to refactorings. No new features are added.