Skip to content

Commit 61c1626

Browse files
committed
Fix documentation for SigsAuthProvider::new
1 parent 1ddd689 commit 61c1626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/headers/sigs_auth.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ impl SigsAuthProvider {
5757
/// This provides an incredibly simple authentication scheme and allows the server to ensure
5858
/// data for separate clients is kept separate, without any application-specific logic.
5959
///
60-
/// In addition to the automatically-added `Authentication` header, any headers provided in
61-
/// `default_headers` (except an `Authentication` header) will be added to the headers list.
60+
/// In addition to the automatically-added `Authorization` header, any headers provided in
61+
/// `default_headers` (except an `Authorization` header) will be added to the headers list.
6262
pub fn new(key: SecretKey, default_headers: HashMap<String, String>) -> Self {
6363
SigsAuthProvider { secp_ctx: Secp256k1::signing_only(), key, default_headers }
6464
}

0 commit comments

Comments
 (0)