aboutsummaryrefslogtreecommitdiff
path: root/src/table/merkle.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-03-15 18:40:27 +0100
committerAlex Auvolat <alex@adnab.me>2021-03-15 18:40:27 +0100
commit537f652fec479c7c5676bba14c23ea6634613122 (patch)
treec7e858c014849e7fe934826ec362e4d6cf3cbb11 /src/table/merkle.rs
parent0290afe1f8eafabf71695d677807e07658d078ab (diff)
downloadgarage-537f652fec479c7c5676bba14c23ea6634613122.tar.gz
garage-537f652fec479c7c5676bba14c23ea6634613122.zip
Tiny things
Diffstat (limited to 'src/table/merkle.rs')
-rw-r--r--src/table/merkle.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table/merkle.rs b/src/table/merkle.rs
index a917a028..f60be8a8 100644
--- a/src/table/merkle.rs
+++ b/src/table/merkle.rs
@@ -56,6 +56,7 @@ pub struct MerkleNodeKey {
pub partition: MerklePartition,
// prefix: a prefix for the hash of full keys, i.e. hash(hash(partition_key)+sort_key)
+ #[serde(with = "serde_bytes")]
pub prefix: Vec<u8>,
}