Skip to content

Commit

Permalink
Suspicious GetFileInfoByInode
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrizio Furano committed Nov 2, 2023
1 parent 6a9e286 commit 1ca0277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eosclient/eosgrpc/eosgrpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ func (c *Client) GetFileInfoByInode(ctx context.Context, auth eosclient.Authoriz
return nil, err
}

if c.opt.VersionInvariant && !isVersionFolder(info.File) {
if c.opt.VersionInvariant && isVersionFolder(info.File) {
info, err = c.getFileInfoFromVersion(ctx, auth, info.File)
if err != nil {
return nil, err
Expand Down

0 comments on commit 1ca0277

Please sign in to comment.