Track SCID aliases from our counterparty and use them in invoices
[rust-lightning] / lightning / src / routing / router.rs
index c45ce59ac13581a3312c535f5e143747fd52220e..870b1e1261fd93a47467fe85e3e098934e388c11 100644 (file)
@@ -1578,6 +1578,7 @@ mod tests {
                        },
                        funding_txo: Some(OutPoint { txid: bitcoin::Txid::from_slice(&[0; 32]).unwrap(), index: 0 }),
                        short_channel_id,
+                       inbound_scid_alias: None,
                        channel_value_satoshis: 0,
                        user_channel_id: 0,
                        balance_msat: 0,
@@ -5101,6 +5102,7 @@ mod benches {
                                txid: bitcoin::Txid::from_slice(&[0; 32]).unwrap(), index: 0
                        }),
                        short_channel_id: Some(1),
+                       inbound_scid_alias: None,
                        channel_value_satoshis: 10_000_000,
                        user_channel_id: 0,
                        balance_msat: 10_000_000,