projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check chain hash for channel announcement and update
[rust-lightning]
/
lightning
/
src
/
offers
/
parse.rs
diff --git
a/lightning/src/offers/parse.rs
b/lightning/src/offers/parse.rs
index 6afd4d68fef385bb5b6b77b8375891e53878f6e7..3f1a9c887ec002315d56d766910b026e6d7efedc 100644
(file)
--- a/
lightning/src/offers/parse.rs
+++ b/
lightning/src/offers/parse.rs
@@
-171,6
+171,8
@@
pub enum SemanticError {
InvalidQuantity,
/// A quantity or quantity bounds was provided but was not expected.
UnexpectedQuantity,
InvalidQuantity,
/// A quantity or quantity bounds was provided but was not expected.
UnexpectedQuantity,
+ /// Metadata could not be used to verify the offers message.
+ InvalidMetadata,
/// Metadata was provided but was not expected.
UnexpectedMetadata,
/// Payer metadata was expected but was missing.
/// Metadata was provided but was not expected.
UnexpectedMetadata,
/// Payer metadata was expected but was missing.