Skip to content

Commit 90a1543

Browse files
committed
fix(p2p/webrtc): channel id numbers overlapping
1 parent 46efcb3 commit 90a1543

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

p2p/src/channels/mod.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ use self::transaction::TransactionPropagationChannelMsg;
4141
#[derive(Serialize, Deserialize, EnumIter, Debug, Ord, PartialOrd, Eq, PartialEq, Clone, Copy)]
4242
#[repr(u8)]
4343
pub enum ChannelId {
44-
SignalingDiscovery = 0,
45-
SignalingExchange = 1,
46-
BestTipPropagation = 2,
47-
TransactionPropagation = 3,
48-
SnarkPropagation = 4,
49-
SnarkJobCommitmentPropagation = 5,
50-
Rpc = 6,
51-
StreamingRpc = 7,
44+
SignalingDiscovery = 1,
45+
SignalingExchange = 2,
46+
BestTipPropagation = 3,
47+
TransactionPropagation = 4,
48+
SnarkPropagation = 5,
49+
SnarkJobCommitmentPropagation = 6,
50+
Rpc = 7,
51+
StreamingRpc = 8,
5252
}
5353

5454
impl ChannelId {

0 commit comments

Comments
 (0)