Skip to content

Commit 53fbe4b

Browse files
shekhirinclaude
andauthored
fix: prevent duplicate --datadir argument in reth module (#640)
The reth module was adding --datadir twice: once manually in the script and once through filtered args processing. This caused reth to fail with "argument '--datadir' cannot be used multiple times". Fixed by adding --datadir to specialArgs list to filter it out from automatic processing, since it's already handled manually in the script. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <[email protected]>
1 parent 4c5f35c commit 53fbe4b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/reth/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ in {
8282

8383
# filter out certain args which need to be treated differently
8484
specialArgs = [
85+
"--datadir"
8586
"--authrpc.jwtsecret"
8687
"--http.enable"
8788
"--metrics.enable"

0 commit comments

Comments
 (0)