projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix debug panic in onion utils on large custom TLVs or metadata.
[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 06a9ae07e1e0024c075082711d9064278227cf5a..07c08d57995b6938c78214067a54c9f7ae74c7b1 100644
(file)
--- a/
lightning/src/ln/onion_payment.rs
+++ b/
lightning/src/ln/onion_payment.rs
@@
-23,6
+23,7
@@
use crate::prelude::*;
use core::ops::Deref;
/// Invalid inbound onion payment.
+#[derive(Debug)]
pub struct InboundOnionErr {
/// BOLT 4 error code.
pub err_code: u16,