summaryrefslogtreecommitdiff
path: root/src/replica.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 23:51:08 -0300
committerGabriel Schneider <[email protected]>2026-11-05 09:54:56 -0300
commit2c1611695bc8897756c1168445c0d4f67a683049 (patch)
treedd0e381314c745314ed264053c54b5366a0a800a /src/replica.zig
parentfb00a8785df8050b6bd39851201c2ef8a506e926 (diff)
downloadpardes-2c1611695bc8897756c1168445c0d4f67a683049.tar.gz
pardes-2c1611695bc8897756c1168445c0d4f67a683049.zip
tape: a digest is recorded by one recordDigest (a step's end, a unit's, a batch's), where digestHere was the same function and leaveInput inlined it a third time
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'src/replica.zig')
-rw-r--r--src/replica.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/replica.zig b/src/replica.zig
index fc27fbd1..4dbe3ad9 100644
--- a/src/replica.zig
+++ b/src/replica.zig
@@ -246,7 +246,7 @@ pub const Authority = struct {
if (a.batched == 0) return null;
a.batched = 0;
const was = Stepping.begin(&a.t, null);
- tape.digestHere(&a.t);
+ tape.recordDigest(&a.t);
was.end();
a.seq += 1;
return try a.unit(0, a.seq);