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

Rebuild unsealed infos on miner restart #3401

Merged
merged 1 commit into from
Aug 31, 2020
Merged

Rebuild unsealed infos on miner restart #3401

merged 1 commit into from
Aug 31, 2020

Conversation

arajasek
Copy link
Contributor

No description provided.

@arajasek arajasek requested a review from magik6k August 30, 2020 02:30
@arajasek arajasek self-assigned this Aug 30, 2020
Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

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

1 Comment

Comment on lines 397 to 398
ui.stored += p.Piece.Size
ui.pieceSizes = append(ui.pieceSizes, p.Piece.Size.Unpadded())
Copy link
Contributor

Choose a reason for hiding this comment

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

Pretty sure we want to count this for the non-deal/padding pieces too

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed!

@magik6k magik6k merged commit 4f45c62 into master Aug 31, 2020
@magik6k magik6k deleted the asr/unsealed-infos branch August 31, 2020 08:35
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.

None yet

2 participants