Skip to content

Commit

Permalink
Fix parsing of solana network from environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jeisses committed Nov 21, 2023
1 parent 9b2ac16 commit 40dbf00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nosana_node/cli.clj
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
:default-fn (get-env-fn "NOSANA_NFT")
:id :nft]
["-n" "--network NETWORK" "Solana network to run on (mainnet or devnet)"
:default-fn (get-env-fn "SOLANA_NETWORK" :mainnet)
:default-fn (get-env-fn "SOLANA_NETWORK" :mainnet #(keyword %))
:parse-fn #(keyword %)
:id :solana-network]
["-w" "--wallet PATH" "Path to wallet private key"
Expand Down

0 comments on commit 40dbf00

Please sign in to comment.