Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid continuation byte error #9

Open
Bhanuprakash111 opened this issue May 4, 2022 · 0 comments
Open

Invalid continuation byte error #9

Bhanuprakash111 opened this issue May 4, 2022 · 0 comments

Comments

@Bhanuprakash111
Copy link

Bhanuprakash111 commented May 4, 2022

I executed the addData() method of Mortgage contract with the multihash value of the document I uploaded to the IPFS as argument, the transaction is successful but I am still getting the Error

throw Error('Invalid continuation byte')

at the below line of code:

var mortgage = web3.utils.hexToUtf8(output.valueOf());

Any ideas of what causing this error ?
Also which Hash Algorithm that is used to verify documents in this project?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant