Skip to content

Conversation

dahaca
Copy link
Contributor

@dahaca dahaca commented Nov 16, 2022

Description

  • correctly handle CJ session pausing when several are ongoing

Related Issue

Resolve #6812

Screenshots:

Screen.Recording.2022-11-16.at.15.42.02.mov

getPhaseTimerFormat,
getSessionDeadlineFormat,
} from '@wallet-utils/coinjoinUtils';
import { useDispatch } from 'react-redux';
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's not a first usage, but would be nice to discuss what is the current preferred way https://www.notion.so/satoshilabs/Redux-b0a4c3b7e71b499a8d592fb44cd794fe#31445739321c401dbf1d2396ee4ad3bc

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Far from the first one, I've been using it for several months, I think 😅 Also, the mobile team has been using it for a while. But we can definitely discuss it and compare pros and cons.

Resolve <!--- link the issue here -->

## Screenshots (if appropriate):
## Screenshots:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like totally unrelated to this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is, I think this change is not really worth CI time...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Totally agree, that unrelated things should be in separate PRs. No need to change it for this PR, but for the future it's better not to save the CI time that much.

Copy link
Member

@matejkriz matejkriz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, please rebase on develop and resolve conflicts

@matejkriz
Copy link
Member

@dahaca please check the failing unit test

@matejkriz matejkriz assigned dahaca and unassigned matejkriz Nov 23, 2022
@dahaca dahaca merged commit 2a0ccfb into develop Nov 23, 2022
@dahaca dahaca deleted the fix/pausing-cj branch November 23, 2022 12:58
@tsusanka tsusanka added the coinjoin Related to coinjoin feature label Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

coinjoin Related to coinjoin feature Roadmap: Product

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

Incorrect wallet is paused when you run multiple instances of CoinJoin in one Trezor Suite.

4 participants