From: Matt Corallo <649246+TheBlueMatt@users.noreply.github.com> Date: Tue, 21 Sep 2021 20:35:29 +0000 (+0000) Subject: Merge pull request #997 from ariard/2021-07-add-chan-closed X-Git-Tag: v0.0.101~11 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=2cf42aa3888e665541faf34a634f054b4580d25f;p=rust-lightning Merge pull request #997 from ariard/2021-07-add-chan-closed Add Event::ChannelClosed generation --- 2cf42aa3888e665541faf34a634f054b4580d25f diff --cc lightning/src/ln/channelmanager.rs index c06fe0075,56dcb057d..8ce19cc0c --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@@ -52,9 -52,9 +52,9 @@@ use ln::onion_utils use ln::msgs::{ChannelMessageHandler, DecodeError, LightningError, OptionalField}; use chain::keysinterface::{Sign, KeysInterface, KeysManager, InMemorySigner}; use util::config::UserConfig; - use util::events::{EventHandler, EventsProvider, MessageSendEvent, MessageSendEventsProvider}; + use util::events::{EventHandler, EventsProvider, MessageSendEvent, MessageSendEventsProvider, ClosureReason}; use util::{byte_utils, events}; -use util::ser::{Readable, ReadableArgs, MaybeReadable, Writeable, Writer}; +use util::ser::{BigSize, FixedLengthReader, Readable, ReadableArgs, MaybeReadable, Writeable, Writer}; use util::chacha20::{ChaCha20, ChaChaReader}; use util::logger::{Logger, Level}; use util::errors::APIError;