holepunchto / hypercore

Hypercore is a secure, distributed append-only log.

Home Page:https://docs.holepunch.to

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible typo in Feed constructor

ishehadeh opened this issue · comments

I've just run into an error this.emit is not a function, which occured when both eagerUpdate and sparse are enabled. I'm pretty sure that's due to this line, https://github.com/mafintosh/hypercore/blob/c5cec3badbcfb864dd7ccf6fb38350ff10deb360/index.js#L127 It looks like this is pointing to the loop function, instead of the Feed.