Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix function name in comment #6336

Merged
merged 1 commit into from
May 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading