Currently we are using and storing metainfo hash as a string which means there is a lot of weird conversions back and forth happening in our code.
metainfo.Hash is just a byte array, so let's just use that instead of messing with them both. The rest api should take in a string convert to metainfo.Hash then that will be input for the functions.
Currently we are using and storing metainfo hash as a string which means there is a lot of weird conversions back and forth happening in our code.
metainfo.Hash is just a byte array, so let's just use that instead of messing with them both. The rest api should take in a string convert to metainfo.Hash then that will be input for the functions.