address: reject v2-v16 segwit addresses encoded with bech32
This commit fixes a bug in how btcd decodes certain Bitcoin SegWit addresses. Under the BIP-350 standard, newer witness versions (versions 2 through 16) must use a newer checksum called bech32m, but btcd was only enforcing that rule for ve…
27bbee94by Lrifton92+68−52 files