mirror of
https://github.com/chatmail/core.git
synced 2026-04-19 06:26:30 +03:00
Rename save_self_keypair
For the ffi rename to dc_preconfigure_keypair. For the internal API to store_self_keypair.
This commit is contained in:
committed by
Floris Bruynooghe
parent
a903805cd9
commit
fc0292bf8a
@@ -85,7 +85,7 @@ pub(crate) fn configure_alice_keypair(ctx: &Context) -> String {
|
||||
let keypair = alice_keypair();
|
||||
ctx.set_config(Config::ConfiguredAddr, Some(&keypair.addr.to_string()))
|
||||
.unwrap();
|
||||
key::save_self_keypair(&ctx, &keypair, key::KeyPairUse::Default)
|
||||
key::store_self_keypair(&ctx, &keypair, key::KeyPairUse::Default)
|
||||
.expect("Failed to save Alice's key");
|
||||
keypair.addr.to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user