diff --git a/chain/stmgr/supply.go b/chain/stmgr/supply.go index 9486cb936..1aea5cc65 100644 --- a/chain/stmgr/supply.go +++ b/chain/stmgr/supply.go @@ -193,7 +193,7 @@ func (sm *StateManager) setupPostCalicoVesting(ctx context.Context) error { return nil } -// GetVestedFunds returns all funds that have "left" actors that are in the genesis state: +// GetFilVested returns all funds that have "left" actors that are in the genesis state: // - For Multisigs, it counts the actual amounts that have vested at the given epoch // - For Accounts, it counts max(currentBalance - genesisBalance, 0). func (sm *StateManager) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) { diff --git a/chain/sync_test.go b/chain/sync_test.go index be7759603..416102366 100644 --- a/chain/sync_test.go +++ b/chain/sync_test.go @@ -1204,7 +1204,7 @@ func TestSyncManualBadTS(t *testing.T) { tu.compareSourceState(client) } -// TestState tests fetching the sync worker state before, during & after the sync +// TestSyncState tests fetching the sync worker state before, during & after the sync func TestSyncState(t *testing.T) { H := 50 tu := prepSyncTest(t, H) diff --git a/cmd/lotus-sim/simulation/blockbuilder/blockbuilder.go b/cmd/lotus-sim/simulation/blockbuilder/blockbuilder.go index a4c9fdeaa..273ab337c 100644 --- a/cmd/lotus-sim/simulation/blockbuilder/blockbuilder.go +++ b/cmd/lotus-sim/simulation/blockbuilder/blockbuilder.go @@ -99,7 +99,7 @@ func NewBlockBuilder(ctx context.Context, logger *zap.SugaredLogger, sm *stmgr.S return bb, nil } -// PushMessages tries to push the specified message into the block. +// PushMessage tries to push the specified message into the block. // // 1. All messages will be executed in-order. // 2. Gas computation & nonce selection will be handled internally.