X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fln%2Fchannel.rs;fp=src%2Fln%2Fchannel.rs;h=b207baa9fe9c08162197f1896cff81709fd84b24;hb=da6171d50d36403af2c1f09c33b6a105884b4b9c;hp=bc1e8b45dc3d5b8b98528816420d2c05f4fdb201;hpb=ac821e448f03818ea71507852e73cce10676b4c2;p=rust-lightning diff --git a/src/ln/channel.rs b/src/ln/channel.rs index bc1e8b45..b207baa9 100644 --- a/src/ln/channel.rs +++ b/src/ln/channel.rs @@ -263,7 +263,7 @@ const INITIAL_COMMITMENT_NUMBER: u64 = (1 << 48) - 1; // has been completed, and then turn into a Channel to get compiler-time enforcement of things like // calling channel_id() before we're set up or things like get_outbound_funding_signed on an // inbound channel. -pub struct Channel { +pub(super) struct Channel { user_id: u64, channel_id: [u8; 32],