Skip to content

Commit

Permalink
fix help messages & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jan 17, 2024
1 parent 839f83e commit 98462cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ Usage of blob-sender:
--maxpriofee float32 The maximum priority fee per gas in gwei. (default 1.2)
--nonce uint Current nonce of the wallet (For offline mode in combination with --output)
-o, --output Output signed transactions to stdout instead of broadcasting them (offline mode).
-p, --privkey string The private key of the wallet to send funds from.
(Special: "env" to read from FUNDINGTOOL_PRIVKEY environment variable)
-p, --privkey string The private key of the wallet to send blobs from.
(Special: "env" to read from BLOBSENDER_PRIVKEY environment variable)
--random-privkey Use random private key if no privkey supplied
-r, --rpchost string The RPC host to send transactions to. (default "http://127.0.0.1:8545")
-t, --to string The transaction to address.
Expand Down
2 changes: 1 addition & 1 deletion cmd/blob-sender/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func main() {

flag.BoolVarP(&cliArgs.verbose, "verbose", "v", false, "Run the script with verbose output")
flag.StringVarP(&cliArgs.rpchost, "rpchost", "r", "http://127.0.0.1:8545", "The RPC host to send transactions to.")
flag.StringVarP(&cliArgs.privkey, "privkey", "p", "", "The private key of the wallet to send funds from.\n(Special: \"env\" to read from FUNDINGTOOL_PRIVKEY environment variable)")
flag.StringVarP(&cliArgs.privkey, "privkey", "p", "", "The private key of the wallet to send blobs from.\n(Special: \"env\" to read from BLOBSENDER_PRIVKEY environment variable)")
flag.BoolVar(&cliArgs.randomPrivKey, "random-privkey", false, "Use random private key if no privkey supplied")

flag.UintVarP(&cliArgs.txCount, "count", "n", 1, "The number of transactions to send.")
Expand Down

0 comments on commit 98462cb

Please sign in to comment.