We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a77736 commit 83643d8Copy full SHA for 83643d8
lightning-invoice/src/de.rs
@@ -733,9 +733,6 @@ impl Display for Bolt11ParseError {
733
Bolt11ParseError::Bech32Error(ref e) => {
734
write!(f, "Invalid bech32: {}", e)
735
}
736
- Bolt11ParseError::GenericBech32Error => {
737
- write!(f, "Invalid bech32")
738
- }
739
Bolt11ParseError::ParseAmountError(ref e) => {
740
write!(f, "Invalid amount in hrp ({})", e)
741
lightning-invoice/src/lib.rs
@@ -89,7 +89,6 @@ pub use crate::ser::Base32Iterable;
89
#[derive(PartialEq, Eq, Debug, Clone)]
90
pub enum Bolt11ParseError {
91
Bech32Error(CheckedHrpstringError),
92
- GenericBech32Error,
93
ParseAmountError(ParseIntError),
94
MalformedSignature(bitcoin::secp256k1::Error),
95
BadPrefix,
0 commit comments