about summary refs log tree commit diff
path: root/tvix/store/src/blobservice/memory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/store/src/blobservice/memory.rs')
-rw-r--r--tvix/store/src/blobservice/memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/store/src/blobservice/memory.rs b/tvix/store/src/blobservice/memory.rs
index a53f8991498b..244055258ef9 100644
--- a/tvix/store/src/blobservice/memory.rs
+++ b/tvix/store/src/blobservice/memory.rs
@@ -79,7 +79,7 @@ impl std::io::Write for MemoryBlobWriter {
             )),
             Some((ref mut buf, ref mut hasher)) => {
                 let bytes_written = buf.write(b)?;
-                hasher.write(&buf[..bytes_written])
+                hasher.write(&b[..bytes_written])
             }
         }
     }