Skip to content

Commit

Permalink
rhp4: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Oct 2, 2024
1 parent 4592625 commit aad5fd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rhp/v4/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ type (
Cost types.Currency `json:"cost"`
}

// RPCAppendSectorResults contains the result of executing the append sectors
// RPCAppendSectorsResult contains the result of executing the append sectors
// RPC.
RPCAppendSectorsResult struct {
Revision types.V2FileContract `json:"revision"`
Expand Down Expand Up @@ -347,6 +347,7 @@ func RPCModifySectors(ctx context.Context, t TransportClient, cs consensus.State
}, nil
}

// RPCAppendSectors appends sectors a host is storing to a contract.
func RPCAppendSectors(ctx context.Context, t TransportClient, cs consensus.State, prices rhp4.HostPrices, sk types.PrivateKey, contract ContractRevision, roots []types.Hash256) (RPCAppendSectorsResult, error) {
req := rhp4.RPCAppendSectorsRequest{
Prices: prices,
Expand Down

0 comments on commit aad5fd7

Please sign in to comment.