AthanorLabs / atomic-swap

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

fix: fix swap status channel setting on restart #444

Closed noot closed 1 year ago

noot commented 1 year ago

closes #433

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 90.00% and project coverage change: +0.15 :tada:

Comparison is base (1901402) 59.43% compared to head (51a85fd) 59.59%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #444 +/- ## ========================================== + Coverage 59.43% 59.59% +0.15% ========================================== Files 121 121 Lines 11126 11115 -11 ========================================== + Hits 6613 6624 +11 + Misses 3794 3776 -18 + Partials 719 715 -4 ``` | [Impacted Files](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [protocol/claim\_monero.go](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wvY2xhaW1fbW9uZXJvLmdv) | `69.64% <0.00%> (-1.55%)` | :arrow_down: | | [protocol/xmrmaker/message\_handler.go](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wveG1ybWFrZXIvbWVzc2FnZV9oYW5kbGVyLmdv) | `61.26% <ø> (-1.58%)` | :arrow_down: | | [protocol/xmrtaker/swap\_state.go](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wveG1ydGFrZXIvc3dhcF9zdGF0ZS5nbw==) | `67.04% <ø> (-0.08%)` | :arrow_down: | | [protocol/swap/types.go](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wvc3dhcC90eXBlcy5nbw==) | `88.23% <100.00%> (+2.52%)` | :arrow_up: | | [protocol/xmrtaker/message\_handler.go](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-cHJvdG9jb2wveG1ydGFrZXIvbWVzc2FnZV9oYW5kbGVyLmdv) | `72.64% <100.00%> (+0.11%)` | :arrow_up: | ... and [4 files with indirect coverage changes](https://codecov.io/gh/AthanorLabs/atomic-swap/pull/444/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.