We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c379ef commit fece78fCopy full SHA for fece78f
src/main.rs
@@ -243,7 +243,7 @@ async fn main() -> std::io::Result<()> {
243
Some((state_commitment, tx_commitment)),
244
Some(config.default_sub_account_id),
245
config.skip_tx_preflight,
246
- config.extra_rpcs.split(",").collect(),
+ config.extra_rpcs.unwrap_or_default().split(",").collect(),
247
)
248
.await;
249
@@ -415,7 +415,7 @@ struct GatewayConfig {
415
skip_tx_preflight: bool,
416
/// extra solana RPC urls for improved Tx broadcast
417
#[argh(option)]
418
- extra_rpcs: String,
+ extra_rpcs: Option<String>,
419
/// enable debug logging
420
#[argh(switch)]
421
verbose: bool,
0 commit comments