From 8b05e87eb8c2a8cb572285ed9186299638fb271c Mon Sep 17 00:00:00 2001 From: zancas Date: Mon, 2 Dec 2024 13:02:07 -0700 Subject: [PATCH] label oneshot channel ends, for readability --- zingo-sync/src/client.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zingo-sync/src/client.rs b/zingo-sync/src/client.rs index c9762677f..b9bdb2350 100644 --- a/zingo-sync/src/client.rs +++ b/zingo-sync/src/client.rs @@ -119,14 +119,14 @@ pub async fn get_utxo_metadata( panic!("addresses must be non-empty!"); } - let (sender, receiver) = oneshot::channel(); + let (reply_sender, reply_receiver) = oneshot::channel(); fetch_request_sender .send(FetchRequest::UtxoMetadata( - sender, + reply_sender, (transparent_addresses, start_height), )) .unwrap(); - let transparent_output_metadata = receiver.await.unwrap(); + let transparent_output_metadata = reply_receiver.await.unwrap(); Ok(transparent_output_metadata) }