darkfid/proto/protocol_proposal: added missing dispatcher

This commit is contained in:
skoupidi
2024-02-22 20:45:14 +02:00
parent 3a9455e646
commit 20117e3e7d

View File

@@ -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?;