Skip to content

[Cirrus] Clean poll repository when setting tip to null (1.1.0.0)#679

Merged
quantumagi merged 4 commits intostratisproject:release/1.1.0.0from
quantumagi:resetprfornulltip
Aug 26, 2021
Merged

[Cirrus] Clean poll repository when setting tip to null (1.1.0.0)#679
quantumagi merged 4 commits intostratisproject:release/1.1.0.0from
quantumagi:resetprfornulltip

Conversation

@quantumagi
Copy link
Contributor

@quantumagi quantumagi commented Aug 25, 2021

@quantumagi quantumagi requested a review from fassadlr August 25, 2021 07:31
@quantumagi quantumagi changed the title [Cirrus] Clean poll repository when setting tip to null [Cirrus] Clean poll repository when setting tip to null (1.1.0.0) Aug 26, 2021
transaction.Commit();
if (this.chainIndexer == null || this.chainIndexer.GetHeader(this.CurrentTip.Hash) != null)
{
this.logger.LogWarning("The polls repository tip was not found in the consensus chain.");
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this message right? Cause the not null check means we DID find the tip?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good spot. Let me fix that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Message moved.

Copy link
Contributor

@fassadlr fassadlr left a comment

Choose a reason for hiding this comment

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

Wait for CI

@quantumagi quantumagi merged commit 8a6f3f4 into stratisproject:release/1.1.0.0 Aug 26, 2021
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