Merge pull request #3082 from valentinewallace/2024-04-bolt12-keysend-invoice
[rust-lightning] / lightning / src / offers / parse.rs
index 472e44f6220f1aed6b2c77c71252a49a1b7aff3b..c48d745a9ffd365ecf09800bc6b6bd24d6e988b5 100644 (file)
@@ -189,6 +189,8 @@ pub enum Bolt12SemanticError {
        MissingCreationTime,
        /// An invoice payment hash was expected but was missing.
        MissingPaymentHash,
+       /// An invoice payment hash was provided but was not expected.
+       UnexpectedPaymentHash,
        /// A signature was expected but was missing.
        MissingSignature,
 }