This commit is contained in:
Luna Yao
2026-04-17 17:45:43 +02:00
parent 6b01554c17
commit a60f101bda
13 changed files with 137 additions and 168 deletions
+2 -2
View File
@@ -1,11 +1,11 @@
use crate::utils::DeterministicDigest;
use crate::proto::utils::TransientDigest;
use std::fmt::Display;
include!(concat!(env!("OUT_DIR"), "/dns.rs"));
impl HeartbeatRequest {
pub fn update(&mut self, snapshot: DnsSnapshot) {
self.digest = snapshot.digest();
self.digest = snapshot.digest().into();
self.snapshot = Some(snapshot);
}
}