mirror of
https://github.com/logos-messaging/libchat.git
synced 2026-05-16 06:59:29 +00:00
Update test account constructor docs
This commit is contained in:
parent
e8ec4fb9bb
commit
f4c34e473c
@ -13,6 +13,9 @@ pub struct 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 {
|
||||
let signing_key = Ed25519SigningKey::generate();
|
||||
let verifying_key = signing_key.verifying_key();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user