You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log_trace!(self,"Finished noise handshake for connection with {}", log_pubkey!(peer.their_node_id.unwrap()));
432
+
entry.insert(peer_descriptor.clone())
433
+
},
424
434
};
425
435
}
426
436
}
427
437
428
438
let next_step = peer.channel_encryptor.get_noise_step();
429
439
match next_step {
430
440
NextNoiseStep::ActOne => {
431
-
let act_two = try_potential_handleerror!(peer.channel_encryptor.process_act_one_with_key(&peer.pending_read_buffer[..],&self.our_node_secret)).to_vec();
441
+
let act_two = try_potential_handleerror!(peer.channel_encryptor.process_act_one_with_key(&peer.pending_read_buffer[..],&self.our_node_secret),true).to_vec();
432
442
peer.pending_outbound_buffer.push_back(act_two);
433
443
peer.pending_read_buffer = [0;66].to_vec();// act three is 66 bytes long
434
444
},
435
445
NextNoiseStep::ActTwo => {
436
-
let act_three = try_potential_handleerror!(peer.channel_encryptor.process_act_two(&peer.pending_read_buffer[..],&self.our_node_secret)).to_vec();
446
+
let act_three = try_potential_handleerror!(peer.channel_encryptor.process_act_two(&peer.pending_read_buffer[..],&self.our_node_secret),true).to_vec();
0 commit comments