CrowdBank icon indicating copy to clipboard operation
CrowdBank copied to clipboard

Invalid continuation byte error

Open Bhanuprakash111 opened this issue 3 years ago • 0 comments

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?

Bhanuprakash111 avatar May 04 '22 19:05 Bhanuprakash111