aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/wire.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/wire.rs')
-rw-r--r--src/transport/wire.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/transport/wire.rs b/src/transport/wire.rs
index 7fe8983..3b67a74 100644
--- a/src/transport/wire.rs
+++ b/src/transport/wire.rs
@@ -14,7 +14,7 @@ use super::{EncodedMessage, MessageKind, ParsedMessage};
/// The wire format's version, the first byte of every payload. Bump it with every change
/// to a message type or a codec (`golden_bytes` fails then).
-pub(crate) const VERSION: u8 = 48;
+pub(crate) const VERSION: u8 = 49;
/// What the second byte of a payload says.
fn tag(kind: MessageKind) -> u8 {
@@ -480,6 +480,10 @@ pub(crate) fn samples() -> Vec<ParsedMessage> {
body: SyncBody::Delta(DeltaSpec {
from: Vec::new(),
to: vec![ChangeHash([2; 32])],
+ signatures: Some(crate::transport::DeltaSignatures {
+ hash: [3; 32],
+ size: 96,
+ }),
}),
ready: true,
writer: Some(7),