Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Conversation

@daviddias
Copy link
Member

issue: #50

@fbaiodias fbaiodias mentioned this pull request Jan 24, 2016
@daviddias
Copy link
Member Author

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bug found (this took me a bit to figure out :))

When using raw-loader, a string is returned with the contents of the file, if the file content was text, it would be ok, but since it is an encoded protobuf, it will add extra encoding data (utf8) adding extra bytes to the content of the Buffer, increasing the size of the Block and by so, failing the test. Need to get another way to load the blocks into localstorage

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

daviddias added a commit that referenced this pull request Jan 25, 2016
@daviddias daviddias merged commit 71013ba into master Jan 25, 2016
@daviddias daviddias deleted the feat/blocks branch January 25, 2016 16:18
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants