fix: use encoded bytes for Tuple hashing

This commit is contained in:
zhaoyang 2026-06-11 21:31:35 +08:00
parent af332e78ea
commit 6f2b642d59

View file

@ -386,7 +386,7 @@ impl Eq for Tuple {}
impl Hash for Tuple {
fn hash<H: std::hash::Hasher>(&self, state: &mut H) {
self.1.hash(state);
self.1.as_strand().encoded_bytes().hash(state);
}
}