-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
break error #3953
break error #3953
Conversation
when lotus-miner running error. add this fix 2020-09-23T10:41:21.285+0800 INFO storageminer storage/miner.go:237 Computing WinningPoSt ;[{SealProof:0 SectorNumber:0 SealedCID:bagboea4b5abcbk5yoopylhy2z7e2lhzkvnaz5ztf2ze4izn2uho4ta4aij3vmddp}]; [143 187 164 24 34 51 93 224 123 92 109 239 181 107 179 172 156 163 251 215 194 99 123 199 227 244 76 255 153 8 255 51] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching this. Just 1 nit
miner/miner.go
Outdated
for { | ||
minerStop: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could change this to
for { | |
minerStop: | |
minerLoop: | |
for { |
And then use continue minerLoop
instead of goto below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now it's changed
#3952
use goto