Update test account constructor docs

This commit is contained in:
Jazz Turner-Baggs 2026-04-27 13:21:44 -07:00
parent e8ec4fb9bb
commit f4c34e473c
No known key found for this signature in database

View File

@ -13,6 +13,9 @@ pub struct LogosAccount {
} }
impl LogosAccount { impl LogosAccount {
/// Create an LogosAccount using a pre-defined identifier.
/// This should only be used in test scenarios where the identifiers can be chosen
/// to ensure no conflicts between instances. Not suitable for production use.
pub fn new_test(explicit_id: impl Into<String>) -> Self { pub fn new_test(explicit_id: impl Into<String>) -> Self {
let signing_key = Ed25519SigningKey::generate(); let signing_key = Ed25519SigningKey::generate();
let verifying_key = signing_key.verifying_key(); let verifying_key = signing_key.verifying_key();