From 23507a826ffbd0b652799d1c18a0c50701a98011 Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Tue, 15 Sep 2026 08:35:05 -0700 Subject: [PATCH] content: fix inconsistent root -> node path --- src/content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/content.c b/src/content/content.c index 6ff6c6f0..320c6c0b 100644 --- a/src/content/content.c +++ b/src/content/content.c @@ -272,7 +272,7 @@ c_submit_data(C_Key key, Arena **data_arena, String8 data) // rjf: key is new -> add this key to the associated root if(key_is_new) { - U64 root_hash = u64_hash_from_str8(str8_struct(&key.root)); + U64 root_hash = key.root.u64[0]; U64 root_slot_idx = root_hash%c_shared->root_slots_count; U64 root_stripe_idx = root_slot_idx%c_shared->root_stripes_count; C_RootSlot *root_slot = &c_shared->root_slots[root_slot_idx];