chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04b9589
)
js: Actually Record when we get RecordedUnpredictable
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Mar 2021 21:53:26 +0000
(21:53 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 14 Mar 2021 21:53:26 +0000
(21:53 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
templates/script.ts
patch
|
blob
|
history
diff --git
a/templates/script.ts
b/templates/script.ts
index c00d246d80d389d69b537acc21cf188d977ddacb..9ba638bb57982b9939624cd4ec82153dc91d5d85 100644
(file)
--- a/
templates/script.ts
+++ b/
templates/script.ts
@@
-1198,6
+1198,7
@@
messages.RecordedUnpredictable = <MessageHandler>function
(j: { piece: PieceId, cseq: ClientSeq, ns: PreparedPieceState } ) {
let piece = j.piece;
let p = pieces[piece]!;
+ piece_recorded_cseq(p, j);
piece_modify(piece, p, j.ns, false);
}