kappa-db / multifeed

Multi-writer hypercore.
135 stars 27 forks source link

fix: use correct var in header parsing #7

Closed hackergrrl closed 5 years ago

hackergrrl commented 5 years ago

fixes #6

Meant to use the header accumulation buffer, not the current packet! This was making things break when the header was long enough to be split into multiple packets.