Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wait for initialized wallet before processing dispute msgs, fix #2914 #2915

Merged
merged 2 commits into from
Jun 24, 2019

Conversation

sqrrm
Copy link
Member

@sqrrm sqrrm commented Jun 23, 2019

No description provided.

Copy link
Member

@devinbileck devinbileck left a comment

Choose a reason for hiding this comment

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

utACK

// In particular it's not possible to complete the signing of a dispute payout
// by an encrypted wallet until after it's been decrypted.
if (!servicesInitialized) {
return;
Copy link
Member

Choose a reason for hiding this comment

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

Just wondering if it would make more sense to put this check in tryApplyMessages? Since it appears to be the only caller of applyMessages and has an additional check.

Copy link
Member Author

Choose a reason for hiding this comment

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

I moved to the readiness check, looks much more reasonable, thanks.

Copy link
Member Author

Choose a reason for hiding this comment

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

Please ack again if it looks good.

Copy link
Member

@devinbileck devinbileck left a comment

Choose a reason for hiding this comment

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

utACK

@sqrrm sqrrm merged commit 08fe71a into bisq-network:master Jun 24, 2019
@sqrrm sqrrm deleted the dispute-on-startup branch September 19, 2019 15:36
@sqrrm sqrrm restored the dispute-on-startup branch September 19, 2019 15:36
@sqrrm sqrrm deleted the dispute-on-startup branch September 19, 2019 15:36
@sqrrm sqrrm restored the dispute-on-startup branch September 19, 2019 15:36
@sqrrm sqrrm deleted the dispute-on-startup branch May 3, 2021 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants