hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reorg bug

mafintosh opened this issue · comments

/~〄~/node_modules/safety-catch/index.js:14 Uncaught TypeError: Cannot read properties of null (reading 'end')
    at ReorgBatch._updateDiffRoot (/~〄~/node_modules/hypercore/lib/merkle-tree.js:255)
    at ReorgBatch._update (/~〄~/node_modules/hypercore/lib/merkle-tree.js:246)
    at async MerkleTree.reorg (/~〄~/node_modules/hypercore/lib/merkle-tree.js:554)
    at async RequestPool._onfork (/~〄~/node_modules/hypercore/lib/replicator.js:462)
    at async Replicator.ondata (/~〄~/node_modules/hypercore/lib/replicator.js:805)