From 5963d54fd69f3ba136e5d6bd6a71a5f58133cbcb Mon Sep 17 00:00:00 2001 From: qwdsds <50311944+qwdsds@users.noreply.github.com> Date: Fri, 8 Mar 2024 14:54:38 +0800 Subject: [PATCH] chore: fix typo --- chain/consensus/filcns/filecoin.go | 2 +- chain/consensus/filcns/upgrades.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chain/consensus/filcns/filecoin.go b/chain/consensus/filcns/filecoin.go index bb70d5d11c1..f3512f0c7c9 100644 --- a/chain/consensus/filcns/filecoin.go +++ b/chain/consensus/filcns/filecoin.go @@ -165,7 +165,7 @@ func (filec *FilecoinEC) ValidateBlock(ctx context.Context, b *types.FullBlock) } 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) } diff --git a/chain/consensus/filcns/upgrades.go b/chain/consensus/filcns/upgrades.go index d7e0914fe2e..b0236cd91ea 100644 --- a/chain/consensus/filcns/upgrades.go +++ b/chain/consensus/filcns/upgrades.go @@ -78,7 +78,7 @@ func init() { return } // 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) return }