Skip to content

Commit d282ea8

Browse files
committed
Attributable failures
1 parent 0e1bbc4 commit d282ea8

File tree

9 files changed

+566
-86
lines changed

9 files changed

+566
-86
lines changed

lightning/src/ln/channel.rs

Lines changed: 86 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ use crate::ln::chan_utils::{
5050
#[cfg(splicing)]
5151
use crate::ln::chan_utils::FUNDING_TRANSACTION_WITNESS_WEIGHT;
5252
use crate::ln::chan_utils;
53-
use crate::ln::onion_utils::{HTLCFailReason};
53+
use crate::ln::onion_utils::{HTLCFailReason, ATTRIBUTION_DATA_LEN};
5454
use crate::chain::BestBlock;
5555
use crate::chain::chaininterface::{FeeEstimator, ConfirmationTarget, LowerBoundedFeeEstimator, fee_for_weight};
5656
use crate::chain::channelmonitor::{ChannelMonitor, ChannelMonitorUpdate, ChannelMonitorUpdateStep, LATENCY_GRACE_PERIOD_BLOCKS};
@@ -68,8 +68,11 @@ use crate::util::scid_utils::scid_from_parts;
6868

6969
use crate::io;
7070
use crate::prelude::*;
71+
use core::time::Duration;
7172
use core::{cmp,mem,fmt};
7273
use core::ops::Deref;
74+
#[cfg(feature = "std")]
75+
use std::time::SystemTime;
7376
#[cfg(any(test, fuzzing, debug_assertions))]
7477
use crate::sync::Mutex;
7578
use crate::sign::type_resolver::ChannelSignerType;
@@ -323,6 +326,7 @@ struct OutboundHTLCOutput {
323326
source: HTLCSource,
324327
blinding_point: Option<PublicKey>,
325328
skimmed_fee_msat: Option<u64>,
329+
timestamp: Option<Duration>,
326330
}
327331

328332
/// See AwaitingRemoteRevoke ChannelState for more info
@@ -4933,7 +4937,7 @@ trait FailHTLCContents {
49334937
impl FailHTLCContents for msgs::OnionErrorPacket {
49344938
type Message = msgs::UpdateFailHTLC;
49354939
fn to_message(self, htlc_id: u64, channel_id: ChannelId) -> Self::Message {
4936-
msgs::UpdateFailHTLC { htlc_id, channel_id, reason: self.data }
4940+
msgs::UpdateFailHTLC { htlc_id, channel_id, reason: self.data, attribution_data: self.attribution_data }
49374941
}
49384942
fn to_inbound_htlc_state(self) -> InboundHTLCState {
49394943
InboundHTLCState::LocalRemoved(InboundHTLCRemovalReason::FailRelay(self))
@@ -6100,10 +6104,16 @@ impl<SP: Deref> FundedChannel<SP> where
61006104
false
61016105
} else { true }
61026106
});
6107+
let now = duration_since_epoch();
61036108
pending_outbound_htlcs.retain(|htlc| {
61046109
if let &OutboundHTLCState::AwaitingRemovedRemoteRevoke(ref outcome) = &htlc.state {
61056110
log_trace!(logger, " ...removing outbound AwaitingRemovedRemoteRevoke {}", &htlc.payment_hash);
6106-
if let OutboundHTLCOutcome::Failure(reason) = outcome.clone() { // We really want take() here, but, again, non-mut ref :(
6111+
if let OutboundHTLCOutcome::Failure(mut reason) = outcome.clone() { // We really want take() here, but, again, non-mut ref :(
6112+
if let (Some(timestamp), Some(now)) = (htlc.timestamp, now) {
6113+
let hold_time = u32::try_from((now - timestamp).as_millis()).unwrap_or(u32::MAX);
6114+
reason.set_hold_time(hold_time);
6115+
}
6116+
61076117
revoked_htlcs.push((htlc.source.clone(), htlc.payment_hash, reason));
61086118
} else {
61096119
finalized_claimed_htlcs.push(htlc.source.clone());
@@ -6845,6 +6855,7 @@ impl<SP: Deref> FundedChannel<SP> where
68456855
channel_id: self.context.channel_id(),
68466856
htlc_id: htlc.htlc_id,
68476857
reason: err_packet.data.clone(),
6858+
attribution_data: err_packet.attribution_data,
68486859
});
68496860
},
68506861
&InboundHTLCRemovalReason::FailMalformed((ref sha256_of_onion, ref failure_code)) => {
@@ -8671,6 +8682,7 @@ impl<SP: Deref> FundedChannel<SP> where
86718682
return Ok(None);
86728683
}
86738684

8685+
let timestamp = duration_since_epoch();
86748686
self.context.pending_outbound_htlcs.push(OutboundHTLCOutput {
86758687
htlc_id: self.context.next_holder_htlc_id,
86768688
amount_msat,
@@ -8680,6 +8692,7 @@ impl<SP: Deref> FundedChannel<SP> where
86808692
source,
86818693
blinding_point,
86828694
skimmed_fee_msat,
8695+
timestamp,
86838696
});
86848697

86858698
let res = msgs::UpdateAddHTLC {
@@ -10247,6 +10260,7 @@ impl<SP: Deref> Writeable for FundedChannel<SP> where SP::Target: SignerProvider
1024710260
dropped_inbound_htlcs += 1;
1024810261
}
1024910262
}
10263+
let mut removed_htlc_failure_attribution_data: Vec<&Option<[u8; ATTRIBUTION_DATA_LEN]>> = Vec::new();
1025010264
(self.context.pending_inbound_htlcs.len() as u64 - dropped_inbound_htlcs).write(writer)?;
1025110265
for htlc in self.context.pending_inbound_htlcs.iter() {
1025210266
if let &InboundHTLCState::RemoteAnnounced(_) = &htlc.state {
@@ -10272,9 +10286,10 @@ impl<SP: Deref> Writeable for FundedChannel<SP> where SP::Target: SignerProvider
1027210286
&InboundHTLCState::LocalRemoved(ref removal_reason) => {
1027310287
4u8.write(writer)?;
1027410288
match removal_reason {
10275-
InboundHTLCRemovalReason::FailRelay(msgs::OnionErrorPacket { data }) => {
10289+
InboundHTLCRemovalReason::FailRelay(msgs::OnionErrorPacket { data, attribution_data }) => {
1027610290
0u8.write(writer)?;
1027710291
data.write(writer)?;
10292+
removed_htlc_failure_attribution_data.push(&attribution_data);
1027810293
},
1027910294
InboundHTLCRemovalReason::FailMalformed((hash, code)) => {
1028010295
1u8.write(writer)?;
@@ -10336,10 +10351,11 @@ impl<SP: Deref> Writeable for FundedChannel<SP> where SP::Target: SignerProvider
1033610351

1033710352
let mut holding_cell_skimmed_fees: Vec<Option<u64>> = Vec::new();
1033810353
let mut holding_cell_blinding_points: Vec<Option<PublicKey>> = Vec::new();
10354+
let mut holding_cell_failure_attribution_data: Vec<(u32, [u8; ATTRIBUTION_DATA_LEN])> = Vec::new();
1033910355
// Vec of (htlc_id, failure_code, sha256_of_onion)
1034010356
let mut malformed_htlcs: Vec<(u64, u16, [u8; 32])> = Vec::new();
1034110357
(self.context.holding_cell_htlc_updates.len() as u64).write(writer)?;
10342-
for update in self.context.holding_cell_htlc_updates.iter() {
10358+
for (i, update) in self.context.holding_cell_htlc_updates.iter().enumerate() {
1034310359
match update {
1034410360
&HTLCUpdateAwaitingACK::AddHTLC {
1034510361
ref amount_msat, ref cltv_expiry, ref payment_hash, ref source, ref onion_routing_packet,
@@ -10364,6 +10380,13 @@ impl<SP: Deref> Writeable for FundedChannel<SP> where SP::Target: SignerProvider
1036410380
2u8.write(writer)?;
1036510381
htlc_id.write(writer)?;
1036610382
err_packet.data.write(writer)?;
10383+
10384+
// Store the attribution data for later writing. Include the holding cell htlc update index because
10385+
// FailMalformedHTLC is stored with the same type 2 and we wouldn't be able to distinguish the two
10386+
// when reading back in.
10387+
if let Some(attribution_data ) = err_packet.attribution_data {
10388+
holding_cell_failure_attribution_data.push((i as u32, attribution_data));
10389+
}
1036710390
}
1036810391
&HTLCUpdateAwaitingACK::FailMalformedHTLC {
1036910392
htlc_id, failure_code, sha256_of_onion
@@ -10547,6 +10570,8 @@ impl<SP: Deref> Writeable for FundedChannel<SP> where SP::Target: SignerProvider
1054710570
(49, self.context.local_initiated_shutdown, option), // Added in 0.0.122
1054810571
(51, is_manual_broadcast, option), // Added in 0.0.124
1054910572
(53, funding_tx_broadcast_safe_event_emitted, option), // Added in 0.0.124
10573+
(55, removed_htlc_failure_attribution_data, optional_vec), // Added in 0.2
10574+
(57, holding_cell_failure_attribution_data, optional_vec), // Added in 0.2
1055010575
});
1055110576

1055210577
Ok(())
@@ -10624,6 +10649,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1062410649
let reason = match <u8 as Readable>::read(reader)? {
1062510650
0 => InboundHTLCRemovalReason::FailRelay(msgs::OnionErrorPacket {
1062610651
data: Readable::read(reader)?,
10652+
attribution_data: None,
1062710653
}),
1062810654
1 => InboundHTLCRemovalReason::FailMalformed(Readable::read(reader)?),
1062910655
2 => InboundHTLCRemovalReason::Fulfill(Readable::read(reader)?),
@@ -10664,6 +10690,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1066410690
},
1066510691
skimmed_fee_msat: None,
1066610692
blinding_point: None,
10693+
timestamp: None,
1066710694
});
1066810695
}
1066910696

@@ -10688,6 +10715,7 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1068810715
htlc_id: Readable::read(reader)?,
1068910716
err_packet: OnionErrorPacket {
1069010717
data: Readable::read(reader)?,
10718+
attribution_data: None,
1069110719
},
1069210720
},
1069310721
_ => return Err(DecodeError::InvalidValue),
@@ -10831,6 +10859,9 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1083110859
let mut pending_outbound_blinding_points_opt: Option<Vec<Option<PublicKey>>> = None;
1083210860
let mut holding_cell_blinding_points_opt: Option<Vec<Option<PublicKey>>> = None;
1083310861

10862+
let mut removed_htlc_failure_attribution_data: Option<Vec<Option<[u8; ATTRIBUTION_DATA_LEN]>>> = None;
10863+
let mut holding_cell_failure_attribution_data: Option<Vec<(u32, [u8; ATTRIBUTION_DATA_LEN])>> = None;
10864+
1083410865
let mut malformed_htlcs: Option<Vec<(u64, u16, [u8; 32])>> = None;
1083510866
let mut monitor_pending_update_adds: Option<Vec<msgs::UpdateAddHTLC>> = None;
1083610867

@@ -10873,6 +10904,8 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1087310904
(49, local_initiated_shutdown, option),
1087410905
(51, is_manual_broadcast, option),
1087510906
(53, funding_tx_broadcast_safe_event_emitted, option),
10907+
(55, removed_htlc_failure_attribution_data, optional_vec),
10908+
(57, holding_cell_failure_attribution_data, optional_vec),
1087610909
});
1087710910

1087810911
let holder_signer = signer_provider.derive_channel_signer(channel_keys_id);
@@ -10954,6 +10987,38 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1095410987
if iter.next().is_some() { return Err(DecodeError::InvalidValue) }
1095510988
}
1095610989

10990+
if let Some(attribution_datas) = removed_htlc_failure_attribution_data {
10991+
let mut removed_htlc_relay_failures =
10992+
pending_inbound_htlcs.iter_mut().filter_map(|status|
10993+
if let InboundHTLCState::LocalRemoved(ref mut reason) = &mut status.state {
10994+
if let InboundHTLCRemovalReason::FailRelay(ref mut packet) = reason {
10995+
Some(&mut packet.attribution_data)
10996+
} else {
10997+
None
10998+
}
10999+
} else {
11000+
None
11001+
}
11002+
);
11003+
11004+
for attribution_data in attribution_datas {
11005+
*removed_htlc_relay_failures.next().ok_or(DecodeError::InvalidValue)? = attribution_data;
11006+
}
11007+
if removed_htlc_relay_failures.next().is_some() { return Err(DecodeError::InvalidValue); }
11008+
}
11009+
11010+
if let Some(attribution_datas) = holding_cell_failure_attribution_data {
11011+
for (i, attribution_data) in attribution_datas {
11012+
let update = holding_cell_htlc_updates.get_mut(i as usize).ok_or(DecodeError::InvalidValue)?;
11013+
11014+
if let HTLCUpdateAwaitingACK::FailHTLC { htlc_id: _, ref mut err_packet } = update {
11015+
err_packet.attribution_data = Some(attribution_data);
11016+
} else {
11017+
return Err(DecodeError::InvalidValue);
11018+
}
11019+
}
11020+
}
11021+
1095711022
if let Some(malformed_htlcs) = malformed_htlcs {
1095811023
for (malformed_htlc_id, failure_code, sha256_of_onion) in malformed_htlcs {
1095911024
let htlc_idx = holding_cell_htlc_updates.iter().position(|htlc| {
@@ -11144,6 +11209,18 @@ impl<'a, 'b, 'c, ES: Deref, SP: Deref> ReadableArgs<(&'a ES, &'b SP, &'c Channel
1114411209
}
1114511210
}
1114611211

11212+
fn duration_since_epoch() -> Option<Duration> {
11213+
#[cfg(not(feature = "std"))]
11214+
let now = None;
11215+
11216+
#[cfg(feature = "std")]
11217+
let now = Some(std::time::SystemTime::now()
11218+
.duration_since(std::time::SystemTime::UNIX_EPOCH)
11219+
.expect("SystemTime::now() should come after SystemTime::UNIX_EPOCH"));
11220+
11221+
now
11222+
}
11223+
1114711224
#[cfg(test)]
1114811225
mod tests {
1114911226
use std::cmp;
@@ -11157,7 +11234,7 @@ mod tests {
1115711234
use bitcoin::network::Network;
1115811235
#[cfg(splicing)]
1115911236
use bitcoin::Weight;
11160-
use crate::ln::onion_utils::INVALID_ONION_BLINDING;
11237+
use crate::ln::onion_utils::{ATTRIBUTION_DATA_LEN, INVALID_ONION_BLINDING};
1116111238
use crate::types::payment::{PaymentHash, PaymentPreimage};
1116211239
use crate::ln::channel_keys::{RevocationKey, RevocationBasepoint};
1116311240
use crate::ln::channelmanager::{self, HTLCSource, PaymentId};
@@ -11378,6 +11455,7 @@ mod tests {
1137811455
},
1137911456
skimmed_fee_msat: None,
1138011457
blinding_point: None,
11458+
timestamp: None,
1138111459
});
1138211460

1138311461
// Make sure when Node A calculates their local commitment transaction, none of the HTLCs pass
@@ -11762,6 +11840,7 @@ mod tests {
1176211840
source: dummy_htlc_source.clone(),
1176311841
skimmed_fee_msat: None,
1176411842
blinding_point: None,
11843+
timestamp: None,
1176511844
};
1176611845
let mut pending_outbound_htlcs = vec![dummy_outbound_output.clone(); 10];
1176711846
for (idx, htlc) in pending_outbound_htlcs.iter_mut().enumerate() {
@@ -11793,7 +11872,7 @@ mod tests {
1179311872
htlc_id: 0,
1179411873
};
1179511874
let dummy_holding_cell_failed_htlc = |htlc_id| HTLCUpdateAwaitingACK::FailHTLC {
11796-
htlc_id, err_packet: msgs::OnionErrorPacket { data: vec![42] }
11875+
htlc_id, err_packet: msgs::OnionErrorPacket { data: vec![42], attribution_data: Some([1; ATTRIBUTION_DATA_LEN]) }
1179711876
};
1179811877
let dummy_holding_cell_malformed_htlc = |htlc_id| HTLCUpdateAwaitingACK::FailMalformedHTLC {
1179911878
htlc_id, failure_code: INVALID_ONION_BLINDING, sha256_of_onion: [0; 32],

lightning/src/ln/channelmanager.rs

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use crate::types::features::Bolt11InvoiceFeatures;
5959
use crate::routing::router::{BlindedTail, InFlightHtlcs, Path, Payee, PaymentParameters, RouteParameters, RouteParametersConfig, Router, FixedRouter, Route};
6060
use crate::ln::onion_payment::{check_incoming_htlc_cltv, create_recv_pending_htlc_info, create_fwd_pending_htlc_info, decode_incoming_update_add_htlc_onion, HopConnector, InboundHTLCErr, NextPacketDetails};
6161
use crate::ln::msgs;
62-
use crate::ln::onion_utils;
62+
use crate::ln::onion_utils::{self, ATTRIBUTION_DATA_LEN};
6363
use crate::ln::onion_utils::{HTLCFailReason, INVALID_ONION_BLINDING};
6464
use crate::ln::msgs::{BaseMessageHandler, ChannelMessageHandler, CommitmentUpdate, DecodeError, LightningError, MessageSendEvent};
6565
#[cfg(test)]
@@ -4476,6 +4476,7 @@ where
44764476
channel_id: msg.channel_id,
44774477
htlc_id: msg.htlc_id,
44784478
reason: failure.data,
4479+
attribution_data: failure.attribution_data,
44794480
})
44804481
}
44814482

@@ -4501,10 +4502,12 @@ where
45014502
}
45024503
let failure = HTLCFailReason::reason($err_code, $data.to_vec())
45034504
.get_encrypted_failure_packet(&shared_secret, &None);
4505+
45044506
return PendingHTLCStatus::Fail(HTLCFailureMsg::Relay(msgs::UpdateFailHTLC {
45054507
channel_id: msg.channel_id,
45064508
htlc_id: msg.htlc_id,
45074509
reason: failure.data,
4510+
attribution_data: failure.attribution_data,
45084511
}));
45094512
}
45104513
}
@@ -12968,11 +12971,15 @@ impl_writeable_tlv_based!(PendingHTLCInfo, {
1296812971
impl Writeable for HTLCFailureMsg {
1296912972
fn write<W: Writer>(&self, writer: &mut W) -> Result<(), io::Error> {
1297012973
match self {
12971-
HTLCFailureMsg::Relay(msgs::UpdateFailHTLC { channel_id, htlc_id, reason }) => {
12974+
HTLCFailureMsg::Relay(msgs::UpdateFailHTLC { channel_id, htlc_id, reason, attribution_data }) => {
1297212975
0u8.write(writer)?;
1297312976
channel_id.write(writer)?;
1297412977
htlc_id.write(writer)?;
1297512978
reason.write(writer)?;
12979+
12980+
// This code will only ever be hit for legacy data that is re-serialized. It isn't necessary to try
12981+
// writing out attribution data, because it can never be present.
12982+
debug_assert!(attribution_data.is_none());
1297612983
},
1297712984
HTLCFailureMsg::Malformed(msgs::UpdateFailMalformedHTLC {
1297812985
channel_id, htlc_id, sha256_of_onion, failure_code
@@ -12997,6 +13004,7 @@ impl Readable for HTLCFailureMsg {
1299713004
channel_id: Readable::read(reader)?,
1299813005
htlc_id: Readable::read(reader)?,
1299913006
reason: Readable::read(reader)?,
13007+
attribution_data: None,
1300013008
}))
1300113009
},
1300213010
1 => {
@@ -13227,6 +13235,7 @@ impl Writeable for HTLCForwardInfo {
1322713235
write_tlv_fields!(w, {
1322813236
(0, htlc_id, required),
1322913237
(2, err_packet.data, required),
13238+
(5, err_packet.attribution_data, option),
1323013239
});
1323113240
},
1323213241
Self::FailMalformedHTLC { htlc_id, failure_code, sha256_of_onion } => {
@@ -13257,8 +13266,12 @@ impl Readable for HTLCForwardInfo {
1325713266
(1, malformed_htlc_failure_code, option),
1325813267
(2, err_packet, required),
1325913268
(3, sha256_of_onion, option),
13269+
(5, attribution_data, option),
1326013270
});
1326113271
if let Some(failure_code) = malformed_htlc_failure_code {
13272+
if attribution_data.is_some() {
13273+
return Err(DecodeError::InvalidValue);
13274+
}
1326213275
Self::FailMalformedHTLC {
1326313276
htlc_id: _init_tlv_based_struct_field!(htlc_id, required),
1326413277
failure_code,
@@ -13269,6 +13282,7 @@ impl Readable for HTLCForwardInfo {
1326913282
htlc_id: _init_tlv_based_struct_field!(htlc_id, required),
1327013283
err_packet: crate::ln::msgs::OnionErrorPacket {
1327113284
data: _init_tlv_based_struct_field!(err_packet, required),
13285+
attribution_data: _init_tlv_based_struct_field!(attribution_data, option),
1327213286
},
1327313287
}
1327413288
}
@@ -14954,6 +14968,7 @@ mod tests {
1495414968
use bitcoin::secp256k1::ecdh::SharedSecret;
1495514969
use core::sync::atomic::Ordering;
1495614970
use crate::events::{Event, HTLCDestination, ClosureReason};
14971+
use crate::ln::onion_utils::ATTRIBUTION_DATA_LEN;
1495714972
use crate::ln::types::ChannelId;
1495814973
use crate::types::payment::{PaymentPreimage, PaymentHash, PaymentSecret};
1495914974
use crate::ln::channelmanager::{create_recv_pending_htlc_info, inbound_payment, ChannelConfigOverrides, HTLCForwardInfo, InterceptId, PaymentId, RecipientOnionFields};
@@ -16276,7 +16291,7 @@ mod tests {
1627616291
let mut nodes = create_network(1, &node_cfg, &chanmgrs);
1627716292

1627816293
let dummy_failed_htlc = |htlc_id| {
16279-
HTLCForwardInfo::FailHTLC { htlc_id, err_packet: msgs::OnionErrorPacket { data: vec![42] } }
16294+
HTLCForwardInfo::FailHTLC { htlc_id, err_packet: msgs::OnionErrorPacket { data: vec![42], attribution_data: Some([0; ATTRIBUTION_DATA_LEN]) } }
1628016295
};
1628116296
let dummy_malformed_htlc = |htlc_id| {
1628216297
HTLCForwardInfo::FailMalformedHTLC { htlc_id, failure_code: 0x4000, sha256_of_onion: [0; 32] }

lightning/src/ln/functional_tests.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use crate::chain::chaininterface::LowerBoundedFeeEstimator;
1717
use crate::chain::channelmonitor;
1818
use crate::chain::channelmonitor::{Balance, ChannelMonitorUpdateStep, CLTV_CLAIM_BUFFER, LATENCY_GRACE_PERIOD_BLOCKS, ANTI_REORG_DELAY, COUNTERPARTY_CLAIMABLE_WITHIN_BLOCKS_PINNABLE};
1919
use crate::chain::transaction::OutPoint;
20+
use crate::ln::onion_utils::ATTRIBUTION_DATA_LEN;
2021
use crate::sign::{ecdsa::EcdsaChannelSigner, EntropySource, OutputSpender, SignerProvider};
2122
use crate::events::bump_transaction::WalletSource;
2223
use crate::events::{Event, FundingInfo, PathFailure, PaymentPurpose, ClosureReason, HTLCDestination, PaymentFailureReason};
@@ -7058,6 +7059,7 @@ pub fn test_update_fulfill_htlc_bolt2_update_fail_htlc_before_commitment() {
70587059
channel_id: chan.2,
70597060
htlc_id: 0,
70607061
reason: Vec::new(),
7062+
attribution_data: Some([0; ATTRIBUTION_DATA_LEN])
70617063
};
70627064

70637065
nodes[0].node.handle_update_fail_htlc(nodes[1].node.get_our_node_id(), &update_msg);

0 commit comments

Comments
 (0)