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 some comments for struct field #6380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 pkg/repo/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type Repo interface {
// MarketDatastore() Datastore

PaychDatastore() Datastore
// SetJsonrpcAPIAddr sets the address of the running jsonrpc API.
// SetAPIAddr sets the address of the running jsonrpc API.
SetAPIAddr(maddr string) error

// APIAddr returns the address of the running API.
Expand Down
4 changes: 2 additions & 2 deletions venus-shared/api/market/client/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ type IMarketClient interface {
ClientGetRetrievalUpdates(ctx context.Context) (<-chan client.RetrievalInfo, error) //perm:write
// ClientQueryAsk returns a signed StorageAsk from the specified miner.
ClientQueryAsk(ctx context.Context, p peer.ID, miner address.Address) (*storagemarket.StorageAsk, error) //perm:read
// ClientCalcCommP calculates the CommP and data size of the specified CID
// ClientDealPieceCID calculates the CommP and data size of the specified CID
ClientDealPieceCID(ctx context.Context, root cid.Cid) (client.DataCIDSize, error) //perm:read
// ClientCalcCommP calculates the CommP for a specified file
ClientCalcCommP(ctx context.Context, inpath string) (*client.CommPRet, error) //perm:write
// ClientGenCar generates a CAR file for the specified file.
ClientGenCar(ctx context.Context, ref client.FileRef, outpath string) error //perm:write
// ClientDealSize calculates real deal data size
ClientDealSize(ctx context.Context, root cid.Cid) (client.DataSize, error) //perm:read
// ClientListTransfers returns the status of all ongoing transfers of data
// ClientListDataTransfers returns the status of all ongoing transfers of data
ClientListDataTransfers(ctx context.Context) ([]market.DataTransferChannel, error) //perm:write
ClientDataTransferUpdates(ctx context.Context) (<-chan market.DataTransferChannel, error) //perm:write
// ClientRestartDataTransfer attempts to restart a data transfer with the given transfer ID and other peer
Expand Down
2 changes: 1 addition & 1 deletion venus-shared/types/api_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ type ChannelAvailableFunds struct {
PendingWaitSentinel *cid.Cid
// QueuedAmt is the amount that is queued up behind a pending request
QueuedAmt BigInt
// VoucherRedeemedAmt is the amount that is redeemed by vouchers on-chain
// VoucherReedeemedAmt is the amount that is redeemed by vouchers on-chain
// and in the local datastore
VoucherReedeemedAmt BigInt
}
Expand Down
Loading