AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
341 stars 44 forks source link

fix: run t1 handler on xmrmaker ongoing swap restart #457

Closed noot closed 1 year ago

noot commented 1 year ago

similar issue to the xmrtaker, the timeout handler wasn't being started on restart

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.18 :tada:

Comparison is base (f786221) 58.55% compared to head (4474bf7) 58.74%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #457 +/- ## ========================================== + Coverage 58.55% 58.74% +0.18% ========================================== Files 124 124 Lines 11620 11627 +7 ========================================== + Hits 6804 6830 +26 + Misses 4092 4074 -18 + Partials 724 723 -1 ``` | [Impacted Files](https://app.codecov.io/gh/AthanorLabs/atomic-swap/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [cliutil/utils.go](https://app.codecov.io/gh/AthanorLabs/atomic-swap/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-Y2xpdXRpbC91dGlscy5nbw==) | `57.14% <100.00%> (-0.38%)` | :arrow_down: | | [protocol/xmrmaker/message\_handler.go](https://app.codecov.io/gh/AthanorLabs/atomic-swap/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wveG1ybWFrZXIvbWVzc2FnZV9oYW5kbGVyLmdv) | `63.69% <100.00%> (+1.34%)` | :arrow_up: | | [protocol/xmrmaker/swap\_state.go](https://app.codecov.io/gh/AthanorLabs/atomic-swap/pull/457?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wveG1ybWFrZXIvc3dhcF9zdGF0ZS5nbw==) | `66.51% <100.00%> (+0.15%)` | :arrow_up: | ... and [8 files with indirect coverage changes](https://app.codecov.io/gh/AthanorLabs/atomic-swap/pull/457/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.