Skip to content

Commit

Permalink
rhp4: fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Oct 21, 2024
1 parent 0639228 commit fe2567f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rhp/v4/rhp.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type Usage struct {
RiskedCollateral types.Currency `json:"collateral"`
}

// Cost returns the total cost of executing the RPC.
// RenterCost returns the total cost of executing the RPC.
func (u Usage) RenterCost() types.Currency {
return u.RPC.Add(u.Storage).Add(u.Egress).Add(u.Ingress).Add(u.AccountFunding)
}
Expand Down

0 comments on commit fe2567f

Please sign in to comment.