]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Merge pull request #984 from TheBlueMatt/2021-06-more-chan-data
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Tue, 6 Jul 2021 00:53:12 +0000 (00:53 +0000)
committerGitHub <noreply@github.com>
Tue, 6 Jul 2021 00:53:12 +0000 (00:53 +0000)
Expose More Information about Channels and structs

1  2 
lightning/src/routing/router.rs

index ac9b2109ad5d6252b169a8e40ccd556fa7596d0d,aa1c3c1176c70e45d6db1b0a0ca903e2b7e470d0..9da2d981e8442feaba72e94cac58cdcd1e5cfcc0
@@@ -2347,8 -2367,12 +2367,12 @@@ mod tests 
                        counterparty_features: InitFeatures::from_le_bytes(vec![0b11]),
                        channel_value_satoshis: 100000,
                        user_id: 0,
 -                      outbound_capacity_msat: 100000,
 +                      outbound_capacity_msat: outbound_capacity_msat,
                        inbound_capacity_msat: 100000,
+                       to_self_reserve_satoshis: None,
+                       to_remote_reserve_satoshis: 0,
+                       confirmations_required: None,
+                       spend_csv_on_our_commitment_funds: None,
                        is_outbound: true, is_funding_locked: true,
                        is_usable: true, is_public: true,
                        counterparty_forwarding_info: None,