Rename handle_degrade_event into handle_fingerprint_change

This commit is contained in:
Alexander Krotov
2020-08-13 22:56:40 +03:00
committed by holger krekel
parent 2feecbc9ff
commit 9810e5562a
3 changed files with 4 additions and 4 deletions

View File

@@ -165,7 +165,7 @@ pub async fn try_decrypt(
peerstate = Peerstate::from_addr(&context, &from).await?;
}
if let Some(peerstate) = peerstate {
peerstate.handle_degrade_event(context).await?;
peerstate.handle_fingerprint_change(context).await?;
if let Some(key) = peerstate.gossip_key {
public_keyring_for_validate.add(key);
}