Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
docs: Fix docstring variable
cloudhead committed 2 years ago
commit 425e7b50928d5a9175f57d7455c9d4ecd7e253ae
parent 104a1b96d01597fe30f292617f8de1e23fcf4cd1
1 file changed +2 -1
modified radicle/src/profile.rs
@@ -113,7 +113,8 @@ pub mod env {
        }
    }

-
    /// Return the seed stored in the [`RAD_SEED`] environment variable, or generate a random one.
+
    /// Return the seed stored in the [`RAD_KEYGEN_SEED`] environment variable,
+
    /// or generate a random one.
    pub fn seed() -> crypto::Seed {
        if let Ok(seed) = var(RAD_KEYGEN_SEED) {
            let Ok(seed) = (0..seed.len())