Skip to content

Commit

Permalink
Merge pull request #6336 from petercover/master
Browse files Browse the repository at this point in the history
chore: fix function name in comment
  • Loading branch information
simlecode authored May 27, 2024
2 parents 4dd92ba + 4f173e4 commit a6a2923
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/submodule/chain/miner_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ var (
initialPledgeDen = big.NewInt(100)
)

// StateMinerInitialPledgeCollateral returns the precommit deposit for the specified miner's sector
// StateMinerPreCommitDepositForPower returns the precommit deposit for the specified miner's sector
func (msa *minerStateAPI) StateMinerPreCommitDepositForPower(ctx context.Context, maddr address.Address, pci types.SectorPreCommitInfo, tsk types.TipSetKey) (big.Int, error) {
ts, err := msa.ChainReader.GetTipSet(ctx, tsk)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion app/submodule/eth/eth_event_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,7 @@ func (e *ethSubscription) addFilter(_ context.Context, f filter.Filter) {
e.filters = append(e.filters, f)
}

// sendOut processes the final subscription queue. It's here in case the subscriber
// startOut processes the final subscription queue. It's here in case the subscriber
// is slow, and we need to buffer the messages.
func (e *ethSubscription) startOut(ctx context.Context) {
for {
Expand Down
2 changes: 1 addition & 1 deletion pkg/chain/circulating_supply.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func (caculator *CirculatingSupplyCalculator) setupPostCalicoVesting(ctx context
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 (caculator *CirculatingSupplyCalculator) GetFilVested(ctx context.Context, height abi.ChainEpoch) (abi.TokenAmount, error) {
Expand Down

0 comments on commit a6a2923

Please sign in to comment.