client impl: Fix typo in ClientCalcCommP CopyBuffer error
This commit is contained in:
parent
a715fb3063
commit
0d9e34d651
@ -1281,7 +1281,7 @@ func (a *API) ClientCalcCommP(ctx context.Context, inpath string) (*api.CommPRet
|
||||
w := &writer.Writer{}
|
||||
_, err = io.CopyBuffer(w, rdr, make([]byte, writer.CommPBuf))
|
||||
if err != nil {
|
||||
return nil, xerrors.Errorf("copy inte commp writer: %w", err)
|
||||
return nil, xerrors.Errorf("copy into commp writer: %w", err)
|
||||
}
|
||||
|
||||
commp, err := w.Sum()
|
||||
|
Loading…
Reference in New Issue
Block a user