diff --git a/knot2/crates/knot-ssh/src/lib.rs b/knot2/crates/knot-ssh/src/lib.rs index 477a28966..f42b65c92 100644 --- a/knot2/crates/knot-ssh/src/lib.rs +++ b/knot2/crates/knot-ssh/src/lib.rs @@ -15,9 +15,7 @@ use knot_index::{Index, KeyTtl}; use knot_maintenance::MaintenanceHandle; use knot_pack::{MaxWireBytes, PackLimits}; use knot_runtime::{Clock, Entropy, HttpTransport, OsEntropy}; -use knot_types::{ - AccountDid, ActorId, AdmissionPolicy, AppviewEndpoint, CiLogsAddr, KnotHostname, -}; +use knot_types::{AccountDid, ActorId, AdmissionPolicy, AppviewEndpoint, CiLogsAddr, KnotHostname}; use russh::keys::ssh_key::rand_core; use russh::keys::{Algorithm, PrivateKey, ssh_key}; use russh::server::{Config, Server as _}; diff --git a/knot2/crates/knot-ssh/tests/ssh_push.rs b/knot2/crates/knot-ssh/tests/ssh_push.rs index 53c4eeaff..7a9785341 100644 --- a/knot2/crates/knot-ssh/tests/ssh_push.rs +++ b/knot2/crates/knot-ssh/tests/ssh_push.rs @@ -1693,7 +1693,6 @@ async fn a_new_collaborator(pds_down: bool) -> Invitation { let keys = index.keys(); keys.record(&owner, held(&owner_line), forever()); keys.record(&bystander, held(&bystander_line), forever()); - keys.mark_ready(index.generation()); let records = Accounts::publishing(HashMap::from([ (OWNER_DID.to_string(), vec![owner_line]),