diff --git a/pkg/eosclient/eosclient.go b/pkg/eosclient/eosclient.go index eeef01e7043..bde1f16d070 100644 --- a/pkg/eosclient/eosclient.go +++ b/pkg/eosclient/eosclient.go @@ -156,5 +156,5 @@ const AttrAlreadyExistsError = errtypes.BadRequest("attr already exists") const AttrNotExistsError = errtypes.BadRequest("attr not exists") // FileIsLockedError is the error raised when attempting to set a lock -// attribute to an already locked file with a mismatched lock +// attribute to an already locked file with a mismatched lock. const FileIsLockedError = errtypes.BadRequest("file is locked") diff --git a/pkg/eosclient/eosgrpc/eosgrpc.go b/pkg/eosclient/eosgrpc/eosgrpc.go index c8430fe6f3f..63870c5ceb6 100644 --- a/pkg/eosclient/eosgrpc/eosgrpc.go +++ b/pkg/eosclient/eosgrpc/eosgrpc.go @@ -531,9 +531,9 @@ func (c *Client) SetAttr(ctx context.Context, auth eosclient.Authorization, attr } rq.Command = &erpc.NSRequest_Xattr{Xattr: msg} - if app != "" { - // rq.Header.Set("app", app) - } + // if app != "" { + // rq.Header.Set("app", app) + // } // Now send the req and see what happens resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq) @@ -580,9 +580,9 @@ func (c *Client) UnsetAttr(ctx context.Context, auth eosclient.Authorization, at msg.Id.Path = []byte(path) rq.Command = &erpc.NSRequest_Xattr{Xattr: msg} - if app != "" { - // rq.Header.Set("app", app) - } + // if app != "" { + // rq.Header.Set("app", app) + // } // Now send the req and see what happens resp, err := c.cl.Exec(appctx.ContextGetClean(ctx), rq)