chore(db): skip serializing phantom data (#6070)

This commit is contained in:
Roman Krasiuk
2024-01-15 09:43:50 +01:00
committed by GitHub
parent c6c307be4e
commit 49106d5088

View File

@@ -104,6 +104,7 @@ impl<K: Key> Decode for RawKey<K> {
pub struct RawValue<V: Value> {
/// Inner compressed value
value: Vec<u8>,
#[serde(skip)]
_phantom: std::marker::PhantomData<V>,
}