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 378885d commit 192fe05Copy full SHA for 192fe05
lightning/src/ln/channelmanager.rs
@@ -396,9 +396,12 @@ impl HTLCSource {
396
397
/// Invalid inbound onion payment.
398
pub struct InboundOnionErr {
399
- err_code: u16,
400
- err_data: Vec<u8>,
401
- msg: &'static str,
+ /// BOLT 4 error code.
+ pub err_code: u16,
+ /// Data attached to this error.
402
+ pub err_data: Vec<u8>,
403
+ /// Error message text.
404
+ pub msg: &'static str,
405
}
406
407
/// This enum is used to specify which error data to send to peers when failing back an HTLC
0 commit comments