aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/mod.rs1
-rw-r--r--src/transport/wire.rs3
2 files changed, 1 insertions, 3 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 04e0506..3fd4490 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -656,7 +656,6 @@ impl std::fmt::Debug for HelloReply {
#[derive(Debug, Clone, Serialize, Deserialize)]
pub(crate) struct SyncEnvelope {
- pub(crate) swarm_id: String,
/// Epoch of the document the message was generated from.
#[serde(with = "crate::transport::wire::codec::epoch")]
pub(crate) epoch: Epoch,
diff --git a/src/transport/wire.rs b/src/transport/wire.rs
index 475c7f2..3f7736d 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 = 28;
+pub(crate) const VERSION: u8 = 29;
/// What the second byte of a payload says.
fn tag(kind: MessageKind) -> u8 {
@@ -401,7 +401,6 @@ pub(crate) fn samples() -> Vec<ParsedMessage> {
sender_run_id: [6; 16],
}),
ParsedMessage::Sync(SyncEnvelope {
- swarm_id: "swarm".into(),
epoch,
epoch_seq: 1,
body: SyncBody::Delta(DeltaSpec {