Skip to content

Commit

Permalink
fix: Fix Potential Index Out of Bound (ethereum#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrjerome authored Jan 29, 2024
1 parent 0664e9f commit 326a8c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/swarm/hash.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func hash(ctx *cli.Context) {
}
f, err := os.Open(args[0])
if err != nil {
utils.Fatalf("Error opening file " + args[1])
utils.Fatalf("Error opening file " + args[0])
}
defer f.Close()

Expand Down

0 comments on commit 326a8c8

Please sign in to comment.