Skip to content

Commit c3f33b4

Browse files
committed
fix(rust/cardano-chain-follower): fix follow chain example argument name
1 parent 817889a commit c3f33b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/cardano-chain-follower/examples/follow_chains.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ async fn start_sync_for(network: &Network, matches: ArgMatches) -> Result<(), Bo
111111
mithril_dl_connect_timeout = format!("{}", humantime::format_duration(connect_timeout));
112112
}
113113

114-
if let Some(data_timeout) = matches.get_one::<u64>("mithril-sync-data-timeout") {
114+
if let Some(data_timeout) = matches.get_one::<u64>("mithril-sync-data-read-timeout") {
115115
dl_config = dl_config.with_connection_timeout(Duration::from_secs(*data_timeout));
116116
}
117117
if let Some(data_timeout) = dl_config.data_read_timeout {

0 commit comments

Comments
 (0)