v1.27.0-a #10

Closed
jonathanface wants to merge 473 commits from v1.27.0-a into master
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d9a0040573 - Show all commits

View File

@ -165,7 +165,7 @@ func (filec *FilecoinEC) ValidateBlock(ctx context.Context, b *types.FullBlock)
} }
if types.BigCmp(pweight, b.Header.ParentWeight) != 0 { if types.BigCmp(pweight, b.Header.ParentWeight) != 0 {
return xerrors.Errorf("parrent weight different: %s (header) != %s (computed)", return xerrors.Errorf("parent weight different: %s (header) != %s (computed)",
b.Header.ParentWeight, pweight) b.Header.ParentWeight, pweight)
} }

View File

@ -78,7 +78,7 @@ func init() {
return return
} }
// use value from environment // use value from environment
log.Infof("migration worker cound set from %s (%d)", EnvMigrationMaxWorkerCount, mwc) log.Infof("migration worker count set from %s (%d)", EnvMigrationMaxWorkerCount, mwc)
MigrationMaxWorkerCount = int(mwc) MigrationMaxWorkerCount = int(mwc)
return return
} }