@@ -85,7 +85,7 @@ func (c *Client) VerifySector(ctx context.Context, prices rhp4.HostPrices, token
85
85
// FreeSectors removes sectors from a contract.
86
86
func (c * Client ) FreeSectors (ctx context.Context , hk types.PublicKey , hostIP string , cs consensus.State , prices rhp4.HostPrices , sk types.PrivateKey , contract rhp.ContractRevision , indices []uint64 ) (res rhp.RPCFreeSectorsResult , _ error ) {
87
87
err := c .tpool .withTransport (ctx , hk , hostIP , func (t rhp.TransportClient ) (err error ) {
88
- res , err = rhp .RPCFreeSectors (ctx , t , cs , prices , sk , contract , indices )
88
+ res , err = rhp .RPCFreeSectors (ctx , t , sk , cs , prices , contract , indices )
89
89
return
90
90
})
91
91
return res , err
@@ -101,7 +101,7 @@ func (c *Client) AppendSectors(ctx context.Context, hk types.PublicKey, hostIP s
101
101
// NOTE: immediately append the sector for the time being, eventually
102
102
// this will be a 2-step process where uploads are unblocked as soon as
103
103
// the sector is on the host, but not yet added to the contract
104
- res , err = rhp .RPCAppendSectors (ctx , t , cs , prices , sk , contract , roots )
104
+ res , err = rhp .RPCAppendSectors (ctx , t , sk , cs , prices , contract , roots )
105
105
return
106
106
})
107
107
return res , err
0 commit comments