We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad385f2 commit 9e78a00Copy full SHA for 9e78a00
lib/session-state.js
@@ -27,8 +27,6 @@ module.exports = class SessionState {
27
this.atomized = null
28
this.mutex = new Mutex()
29
30
- this.treeFork = -1 // only updated if truncated below dependency
31
-
32
// merkle state
33
this.roots = treeInfo.roots.length ? treeInfo.roots : []
34
this.fork = treeInfo.fork || 0
@@ -111,7 +109,7 @@ module.exports = class SessionState {
111
109
}
112
110
113
get encryptionFork () {
114
- return this.treeFork === -1 ? this.core.header.tree.fork : this.treeFork
+ return this.core.header.tree.fork
115
116
117
async updateSnapshotStorage (storage) {
0 commit comments