hypercore-protocol / hypercore-next

Hypercore 10 is an append only log with multi-writer primitives built in.
MIT License
150 stars 15 forks source link

Reorg bug #71

Closed mafintosh closed 2 years ago

mafintosh commented 2 years ago
/~〄~/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)