Skip to content

Commit

Permalink
Remove outdated comment on public key
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsproul authored Jul 16, 2024
1 parent dbfd05c commit b408697
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions validator_client/src/http_api/api_secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ use std::fs;
use std::path::{Path, PathBuf};
use warp::Filter;

/// The name of the file which stores the public key.
///
/// For users, this public key is a "secret" that can be shared with API consumers to provide them
/// access to the API. We avoid calling it a "public" key to users, since they should not post this
/// value in a public forum.
/// The name of the file which stores the API token.
pub const PK_FILENAME: &str = "api-token.txt";

pub const PK_LEN: usize = 33;
Expand Down

0 comments on commit b408697

Please sign in to comment.