hypercore-protocol / hyperdrive-daemon

Hyperdrive, batteries included.
MIT License
156 stars 24 forks source link

Exception when accessing a 1.0 dat #10

Open pfrazee opened 4 years ago

pfrazee commented 4 years ago

I visited an old Dat and this got thrown:

Uncaught exception: TypeError: Cannot read property 'feed' of undefined
    at NanoIterator.next [as _next] (/Users/paulfrazee/work/beaker-core/node_modules/hyperdrive/lib/iterator.js:79:48)
    at update (/Users/paulfrazee/work/beaker-core/node_modules/nanoiterator/index.js:106:13)
    at openDone (/Users/paulfrazee/work/beaker-core/node_modules/nanoiterator/index.js:82:3)
    at NanoIterator._open (/Users/paulfrazee/work/beaker-core/node_modules/nanoiterator/index.js:50:3)
    at NanoIterator.next (/Users/paulfrazee/work/beaker-core/node_modules/nanoiterator/index.js:31:26)
    at IteratorStream._read (/Users/paulfrazee/work/beaker-core/node_modules/nanoiterator/to-stream.js:18:17)
    at IteratorStream.Readable.read (/Users/paulfrazee/work/beaker-core/node_modules/readable-stream/lib/_stream_readable.js:443:10)
    at resume_ (/Users/paulfrazee/work/beaker-core/node_modules/readable-stream/lib/_stream_readable.js:790:12)
    at processTicksAndRejections (internal/process/task_queues.js:84:9)

This causes the daemon to stop running.