Skip to content

Commit

Permalink
Merge pull request #6389 from lencap/master
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
simlecode authored Aug 9, 2024
2 parents 0dacb99 + fd6442c commit c4ac18f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/repo/fsrepo.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ func APIAddrFromRepoPath(repoPath string) (string, error) {
return apiAddrFromFile(repoPath)
}

// APIAddrFromRepoPath returns the token from the filecoin repo
// APITokenFromRepoPath returns the token from the filecoin repo
func APITokenFromRepoPath(repoPath string) (string, error) {
repoPath, err := homedir.Expand(repoPath)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/vm/vmcontext/invocation_context.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ func (ctx *invocationContext) Balance() abi.TokenAmount {
// implement runtime.InvocationContext for invocationContext
var _ runtime.ExtendedInvocationContext = (*invocationContext)(nil)

// NextActorAddress predicts the address of the next actor created by this address.
// NewActorAddress predicts the address of the next actor created by this address.
//
// Code is adapted from vm.Runtime#NewActorAddress()
func (ctx *invocationContext) NewActorAddress() address.Address {
Expand Down

0 comments on commit c4ac18f

Please sign in to comment.