From 986bebd3a0ba4b3480e8843c08b450b976f5ef89 Mon Sep 17 00:00:00 2001 From: cezary-stroczynski Date: Tue, 1 Oct 2024 13:32:27 +0200 Subject: [PATCH] Fix shadowing in ow_data_provider_cli --- ow_data_provider_cli/src/lib.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ow_data_provider_cli/src/lib.rs b/ow_data_provider_cli/src/lib.rs index 43403ef..480ad90 100644 --- a/ow_data_provider_cli/src/lib.rs +++ b/ow_data_provider_cli/src/lib.rs @@ -65,8 +65,10 @@ pub async fn run(config: Config) -> Result<(), Box> { .wallet(wallet) .on_http(config.rpc_url.parse().unwrap()); - let ddex_sequencer = DdexSequencerContext::build(&provider).await?; + let ddex_sequencer_context = DdexSequencerContext::build(&provider).await?; let blob_transaction_data = BlobTransactionData::build(&config).unwrap(); - ddex_sequencer.send_blob(blob_transaction_data).await?; + ddex_sequencer_context + .send_blob(blob_transaction_data) + .await?; Ok(()) }