Skip to content

Commit 6446f2a

Browse files
sipaandrewtoth
andcommitted
Update bip-0350.mediawiki
Co-authored-by: andrewtoth <[email protected]>
1 parent d3874ff commit 6446f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0350.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def decode(hrp, addr):
121121

122122
'''Error locating'''
123123

124-
Bech32m, like Bech32m, does support locating<ref>'''What about error correction?''' As explained in BIP173, introducing error correction reduces the ability to detect errors. While it is technically possible to correct a small number of errors due to Bech32(m)'s nature as a BCH code, implementations should refrain from using this for more than indicating where an error may be present.</ref> the positions of a few substitution errors. To combine this functionality with
124+
Bech32m, like Bech32, does support locating<ref>'''What about error correction?''' As explained in BIP173, introducing error correction reduces the ability to detect errors. While it is technically possible to correct a small number of errors due to Bech32(m)'s nature as a BCH code, implementations should refrain from using this for more than indicating where an error may be present.</ref> the positions of a few substitution errors. To combine this functionality with
125125
the segregated witness addresses proposed by this document, simply try locating errors for both Bech32 and Bech32m. If only one finds error locations, report that one. If both do (which should be very rare),
126126
there are a number of options:
127127
* Report the one that needs fewer corrections (if they differ).

0 commit comments

Comments
 (0)