projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add missing Offer::expects_quantity to tests
[rust-lightning]
/
lightning
/
src
/
ln
/
onion_payment.rs
diff --git
a/lightning/src/ln/onion_payment.rs
b/lightning/src/ln/onion_payment.rs
index 8293a32021e3285dd91a651274c2ca11b902552c..20a1e1dbb621f4a0c4ce68ed9f5a5e0df6aad278 100644
(file)
--- a/
lightning/src/ln/onion_payment.rs
+++ b/
lightning/src/ln/onion_payment.rs
@@
-26,7
+26,7
@@
use crate::prelude::*;
use core::ops::Deref;
/// Invalid inbound onion payment.
-#[derive(
Debug
)]
+#[derive(
Clone, Debug, Hash, PartialEq, Eq
)]
pub struct InboundHTLCErr {
/// BOLT 4 error code.
pub err_code: u16,