Skip to content

Commit e1e7b77

Browse files
committed
BIP173: segwit address witness version is one 5-bit char not one byte
1 parent cf0b529 commit e1e7b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0173.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ be of the same length as the mainnet counterpart (to simplify
208208
implementations' assumptions about lengths), but still be visually
209209
distinct.</ref> for testnet.
210210
* The data-part values:
211-
** 1 byte: the witness version
211+
** 1 character (representing 5 bits of data): the witness version
212212
** A conversion of the 2-to-40-byte witness program (as defined by [https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki BIP141]) to base32:
213213
*** Start with the bits of the witness program, most significant bit per byte first.
214214
*** Re-arrange those bits into groups of 5, and pad with zeroes at the end if needed.

0 commit comments

Comments
 (0)