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.
TrampolineFeeOrExpiryInsufficient
1 parent f1c4da6 commit d37d6d8Copy full SHA for d37d6d8
lightning/src/ln/onion_utils.rs
@@ -2033,7 +2033,7 @@ impl HTLCFailReason {
2033
},
2034
LocalHTLCFailureReason::TemporaryTrampolineFailure => debug_assert!(data.is_empty()),
2035
LocalHTLCFailureReason::TrampolineFeeOrExpiryInsufficient => {
2036
- debug_assert!(data.is_empty())
+ debug_assert_eq!(data.len(), 10)
2037
2038
LocalHTLCFailureReason::UnknownNextTrampoline => debug_assert!(data.is_empty()),
2039
}
0 commit comments