MCPcopy Create free account
hub / github.com/ElementsProject/lightning / failure_code

Method failure_code

plugins/lsps-plugin/src/core/lsps2/htlc.rs:48–53  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

46
47impl RejectReason {
48 pub fn failure_code(&self) -> &'static str {
49 match self {
50 Self::OfferExpired { .. } => TEMPORARY_CHANNEL_FAILURE,
51 _ => UNKNOWN_NEXT_PEER,
52 }
53 }
54}
55
56#[derive(Debug, Error)]

Callers 1

decision_to_responseFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected