Skip to content
New issue

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

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

Already on GitHub? # 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!

@arajasek arajasek force-pushed the asr/unsealed-infos branch from a0eac8d to 27f7d3a Compare August 30, 2020 22:01
@magik6k magik6k self-requested a review August 31, 2020 08:09
@magik6k magik6k merged commit 4f45c62 into master Aug 31, 2020
@magik6k magik6k deleted the asr/unsealed-infos branch August 31, 2020 08:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants