Fix panic when no instance is passed to certain CLI options (#275)

This commit is contained in:
Hernando Castano authored and Bastian Köcher committed 2024-04-10 10:28:37 +02:00
1 parent 9f6bd28384
commit acb78b0595
1 file changed
+3
+3
View File
@@ -85,6 +85,7 @@ subcommands:
help: Hex-encoded secret to use when transactions are submitted to the Ethereum node.
- sub-host: *sub-host
- sub-port: *sub-port
- sub-pallet-instance: *sub-pallet-instance
- no-prometheus: *no-prometheus
- prometheus-host: *prometheus-host
- prometheus-port: *prometheus-port
@@ -102,6 +103,7 @@ subcommands:
takes_value: true
- sub-host: *sub-host
- sub-port: *sub-port
- sub-pallet-instance: *sub-pallet-instance
- sub-authorities-set-id:
long: sub-authorities-set-id
value_name: SUB_AUTHORITIES_SET_ID
@@ -160,6 +162,7 @@ subcommands:
- sub-port: *sub-port
- sub-signer: *sub-signer
- sub-signer-password: *sub-signer-password
- sub-pallet-instance: *sub-pallet-instance
- no-prometheus: *no-prometheus
- prometheus-host: *prometheus-host
- prometheus-port: *prometheus-port