public static class AddressFormatException.UnexpectedWitnessVersion extends AddressFormatException
SegwitAddress
when you try to decode data and the witness version doesn't
match the Bech32 encoding as per BIP350. You shouldn't allow the user to proceed in this case.AddressFormatException.InvalidCharacter, AddressFormatException.InvalidChecksum, AddressFormatException.InvalidDataLength, AddressFormatException.InvalidPrefix, AddressFormatException.UnexpectedWitnessVersion, AddressFormatException.WrongNetwork
Constructor and Description |
---|
UnexpectedWitnessVersion() |
UnexpectedWitnessVersion(java.lang.String message) |