Skip to content

Commit

Permalink
change default clappy values
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeantonio21 committed Apr 25, 2024
1 parent 1f3b490 commit 059fa70
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions atoma-event-subscribe/sui/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,16 @@ struct Args {
#[arg(long)]
pub package_id: String,
/// HTTP node's address for Sui client
#[arg(long, default_value = "https://fullnode.devnet.sui.io:443")]
#[arg(
long,
default_value = "https://fullnode.mainnet.sui.io:443"
)]
pub http_addr: String,
/// RPC node's web socket address for Sui client
#[arg(long, default_value = "wss://rpc.devnet.sui.io:443")]
#[arg(
long,
default_value = "wss://fullnode.mainnet.sui.io:443"
)]
pub ws_addr: String,
}

Expand All @@ -41,7 +47,7 @@ async fn main() -> Result<(), SuiSubscriberError> {

tokio::spawn(async move {
info!("initializing subscribe");
event_subscriber.subscribe().await?;
event_subscriber.subscribe().await.unwrap();
Ok::<_, SuiSubscriberError>(())
});

Expand Down

0 comments on commit 059fa70

Please sign in to comment.