chore(client): remove redundant error check for tar reader (#24058)

Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
Hoang Do
2025-03-19 10:09:42 -04:00
committed by GitHub
co-authored by Alex | Interchain Labs
parent 26bc9f66ee
commit 700d33457a
-3
View File
@@ -44,9 +44,6 @@ func LoadArchiveCmd() *cobra.Command {
var snapshot snapshottypes.Snapshot
tr := tar.NewReader(reader)
if err != nil {
return fmt.Errorf("failed to create tar reader: %w", err)
}
hdr, err := tr.Next()
if err != nil {