Open apoelstra opened 3 years ago
Hmm, is it desirable to restrict the code to bc/bcrt/tb? I don't think the other reference code does that.
If not I'm happy to remove it. It seemed like an odd thing to do, but the existing Rust code did it.
Yeah, I think I'd prefer removing that requirement.
Removed. This did mean that we had to remove a couple test vectors (which are "invalid segwit addresses" according to BIP-173 and 350 but nonetheless valid bech32).
Also add support for "bcrt" HRP