From 0d9e34d6516bd97a668b1a873fe5d53a47161f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Thu, 10 Mar 2022 22:41:45 +0100 Subject: [PATCH] client impl: Fix typo in ClientCalcCommP CopyBuffer error --- node/impl/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/impl/client/client.go b/node/impl/client/client.go index 7ecf6a776..f105d3152 100644 --- a/node/impl/client/client.go +++ b/node/impl/client/client.go @@ -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()