Prechádzať zdrojové kódy

darkfid/proto/protocol_proposal: added missing dispatcher

skoupidi 2 rokov pred
rodič
commit
20117e3e7d

+ 1 - 0
bin/darkfid/src/proto/protocol_proposal.rs

@@ -67,6 +67,7 @@ impl ProtocolProposal {
         );
         let msg_subsystem = channel.message_subsystem();
         msg_subsystem.add_dispatch::<ProposalMessage>().await;
+        msg_subsystem.add_dispatch::<ForkSyncRequest>().await;
         msg_subsystem.add_dispatch::<ForkSyncResponse>().await;
 
         let proposal_sub = channel.subscribe_msg::<ProposalMessage>().await?;