Home > Blockchain >  TypeError: object supporting the buffer API required how to solve
TypeError: object supporting the buffer API required how to solve

Time:09-22

The code is as follows:
Hash_result=hashlib. Sha3_256 (encode (STR (header) + STR (nonce))). Hexdigest ()

Error message is as follows:
TypeError: object supporting the required buffer API

How do I solve this problem?
  • Related