docs: fix function names in comments (#11898)

Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
fuyangpengqi 2024-04-19 10:00:02 +08:00 committed by GitHub
parent 6b3e9b109f
commit 5f7aaaa8f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -193,7 +193,7 @@ func (sm *StateManager) setupPostCalicoVesting(ctx context.Context) error {
return nil 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 Multisigs, it counts the actual amounts that have vested at the given epoch
// - For Accounts, it counts max(currentBalance - genesisBalance, 0). // - For Accounts, it counts max(currentBalance - genesisBalance, 0).
func (sm *StateManager) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) { func (sm *StateManager) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) {

View File

@ -1204,7 +1204,7 @@ func TestSyncManualBadTS(t *testing.T) {
tu.compareSourceState(client) 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) { func TestSyncState(t *testing.T) {
H := 50 H := 50
tu := prepSyncTest(t, H) tu := prepSyncTest(t, H)

View File

@ -99,7 +99,7 @@ func NewBlockBuilder(ctx context.Context, logger *zap.SugaredLogger, sm *stmgr.S
return bb, nil 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. // 1. All messages will be executed in-order.
// 2. Gas computation & nonce selection will be handled internally. // 2. Gas computation & nonce selection will be handled internally.