You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lightning/src/ln/channel.rs
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5527,7 +5527,7 @@ mod tests {
5527
5527
use bitcoin::hashes::hex::FromHex;
5528
5528
use hex;
5529
5529
use ln::{PaymentPreimage,PaymentHash};
5530
-
use ln::channelmanager::HTLCSource;
5530
+
use ln::channelmanager::{HTLCSource,MppId};
5531
5531
use ln::channel::{Channel,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,HTLCCandidate,HTLCInitiator,TxCreationKeys};
@@ -4918,6 +4941,7 @@ impl Readable for ClaimableHTLC {
4918
4941
impl_writeable_tlv_based_enum!(HTLCSource,
4919
4942
(0,OutboundRoute) => {
4920
4943
(0, session_priv, required),
4944
+
(1, mpp_id, option),
4921
4945
(2, first_hop_htlc_msat, required),
4922
4946
(4, path, vec_type),
4923
4947
},;
@@ -5368,7 +5392,7 @@ mod tests {
5368
5392
use bitcoin::hashes::sha256::HashasSha256;
5369
5393
use core::time::Duration;
5370
5394
use ln::{PaymentPreimage,PaymentHash,PaymentSecret};
5371
-
use ln::channelmanager::PaymentSendFailure;
5395
+
use ln::channelmanager::{MppId,PaymentSendFailure};
5372
5396
use ln::features::{InitFeatures,InvoiceFeatures};
5373
5397
use ln::functional_test_utils::*;
5374
5398
use ln::msgs;
@@ -5519,10 +5543,11 @@ mod tests {
5519
5543
let net_graph_msg_handler = &nodes[0].net_graph_msg_handler;
5520
5544
let route = get_route(&nodes[0].node.get_our_node_id(),&net_graph_msg_handler.network_graph.read().unwrap(),&nodes[1].node.get_our_node_id(),Some(InvoiceFeatures::known()),None,&Vec::new(),100_000,TEST_FINAL_CLTV,&logger).unwrap();
0 commit comments