Implement channel closing for block_disconnected on ChainListener + test
[rust-lightning] / src / ln / channel.rs
index 93e4a2cf3be5d12f0d903725b0ddcd32e6a2f1a7..6c04ff1df48e6a33fab482c4d20bc4ecee66ad31 100644 (file)
@@ -231,7 +231,7 @@ const BOTH_SIDES_SHUTDOWN_MASK: u32 = (ChannelState::LocalShutdownSent as u32 |
 
 // TODO: We should refactor this to be an Inbound/OutboundChannel until initial setup handshaking
 // has been completed, and then turn into a Channel to get compiler-time enforcement of things like
-// calling get_channel_id() before we're set up or things like get_outbound_funding_signed on an
+// calling channel_id() before we're set up or things like get_outbound_funding_signed on an
 // inbound channel.
 pub struct Channel {
        user_id: u64,