Skip to content

Commit 91692c7

Browse files
committed
chore(node/router): add message versions for V15
1 parent 4896d2d commit 91692c7

File tree

1 file changed

+2
-1
lines changed
  • node/router/messages/src

1 file changed

+2
-1
lines changed

node/router/messages/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ impl<N: Network> From<DisconnectReason> for Message<N> {
108108
impl<N: Network> Message<N> {
109109
/// The version of the network protocol; this is incremented for breaking changes between migration versions.
110110
// Note. This should be incremented for each new `ConsensusVersion` that is added.
111-
pub const VERSIONS: [(ConsensusVersion, u32); 9] = [
111+
pub const VERSIONS: [(ConsensusVersion, u32); 10] = [
112112
(ConsensusVersion::V5, 17),
113113
(ConsensusVersion::V7, 18),
114114
(ConsensusVersion::V8, 19),
@@ -122,6 +122,7 @@ impl<N: Network> Message<N> {
122122
// then jump from 24 to 25 as usual.
123123
(ConsensusVersion::V13, 24),
124124
(ConsensusVersion::V14, 25),
125+
(ConsensusVersion::V15, 26),
125126
];
126127

127128
/// Returns the latest message version.

0 commit comments

Comments
 (0)