Merge pull request #622 from filcloud/fix-types-typo

fix types typo
This commit is contained in:
Łukasz Magiera 2019-11-15 14:42:16 +01:00 committed by GitHub
commit 01f6492f98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ const (
)
// TransferID is an identifier for a data transfer, shared between
// request/responder and unique to the requestor
// request/responder and unique to the requester
type TransferID uint64
// ChannelID is a unique identifier for a channel, distinct by both the other
@ -52,11 +52,11 @@ type ChannelID struct {
// Channel represents all the parameters for a single data transfer
type Channel struct {
// an identifier for this channel shared by request and responder, set by requestor through protocol
// an identifier for this channel shared by request and responder, set by requester through protocol
transferID TransferID
// base CID for the piece being transferred
baseCid cid.Cid
// portion of Piece to return, spescified by an IPLD selector
// portion of Piece to return, specified by an IPLD selector
selector ipld.Node
// used to verify this channel
voucher Voucher