File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -424,6 +424,8 @@ async fn handle_inbound_stream(
424424 }
425425 }
426426
427+ // Record observed step even after validation failure.
428+ // Barrier waiters still fail fast on `server.err`
427429 if server. update_step ( peer_id, message. step ) . await ? {
428430 send_inbound_event (
429431 & inbound_events_tx,
Original file line number Diff line number Diff line change 11//! Protocol helpers for the DKG sync protocol.
22
33use libp2p:: identity:: { Keypair , PublicKey } ;
4+ use libp2p:: StreamProtocol ;
45use pluto_core:: version:: SemVer ;
56
67use crate :: dkgpb:: v1:: sync:: MsgSync ;
@@ -10,8 +11,6 @@ use super::error::{Error, Result};
1011/// The protocol identifier for DKG sync.
1112pub const PROTOCOL_NAME : libp2p:: StreamProtocol = StreamProtocol :: new ( "/charon/dkg/sync/1.0.0/" ) ;
1213
13- use libp2p:: StreamProtocol ;
14-
1514/// Signs the definition hash using the same libp2p signing path as Go.
1615pub fn sign_definition_hash ( secret : & k256:: SecretKey , def_hash : & [ u8 ] ) -> Result < Vec < u8 > > {
1716 let mut der = secret
You can’t perform that action at this time.
0 commit comments