In the godoc comments for bech32, wherever base64 is mentioned (implying 6 bits per byte), it is actually using base256 (all 8 bits in the byte). This is seen by the 8 being used as the argument to the underlying btcsuite/btcutil/bech32 functions.
Anywhere that base32 is mentioned is still correct.
Cosmos SDK Version
main
How to reproduce?
Note: Since these are godoc comments, this also results in the documentation being incorrect, not just the file-level comments
What happened?
In the godoc comments for bech32, wherever base64 is mentioned (implying 6 bits per byte), it is actually using base256 (all 8 bits in the byte). This is seen by the
8
being used as the argument to the underlyingbtcsuite/btcutil/bech32
functions.Anywhere that base32 is mentioned is still correct.
Cosmos SDK Version
main
How to reproduce?
Note: Since these are godoc comments, this also results in the documentation being incorrect, not just the file-level comments