← Back to Bitcoin Improvement Proposals
BIPinformationaltaprootkey-management

BIP 341: add missing conversions between bytes and int

It seems like there are some missing type conversions in the example python code for `taproot_tweak_seckey`. Changes made: - Convert seckey0 to bytes at the start of the function. - Return the output as bytes for consistency with the rest of the code.

No reviews
DariusParvin·Updated Sep 30, 2022·0 reviews·0 attestations·View source
Collections:BIPs — Merged

Specification

It seems like there are some missing type conversions in the example python code for taproot_tweak_seckey.

Changes made:

  • Convert seckey0 to bytes at the start of the function.
  • Return the output as bytes for consistency with the rest of the code.

Discussion (0 threads)

Loading discussions...