orbitdb-archive / ipfs-log

Append-only log CRDT on IPFS
https://orbitdb.github.io/ipfs-log/
MIT License
398 stars 55 forks source link

clamp length when slicing fetched entries #270

Closed shamb0t closed 5 years ago

shamb0t commented 5 years ago

Clamps size in last if it is greater than the length of the entries

Fixes failing tests in https://github.com/orbitdb/orbit-db/pull/698