(oldHlc: Hlc, newHlc: Hlc)
| 36 | export const getStampHash = (stamp: Stamp<unknown, true>): Hash => stamp[2]; |
| 37 | |
| 38 | export const replaceHlcHash = (oldHlc: Hlc, newHlc: Hlc) => |
| 39 | newHlc > oldHlc ? (oldHlc ? getHash(oldHlc) : 0) ^ getHash(newHlc) : 0; |
| 40 | |
| 41 | export const getLatestHlc = ( |
| 42 | hlc1: Hlc | undefined, |
no test coverage detected
searching dependent graphs…