Skip to content

Commit 8d11b28

Browse files
committed
Adding clearer comment for batch auth on first request
1 parent 0576c25 commit 8d11b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw_client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ impl<T: Read + Write> ElectrumApi for RawClient<T> {
967967
params.to_vec(),
968968
);
969969

970-
// Apply authorization token only to the first request in batch
970+
// Servers expect auth token only in the first request in batched requests
971971
if index == 0 {
972972
if let Some(provider) = &self.auth_provider {
973973
req.authorization = provider();

0 commit comments

Comments
 (0)