X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fln%2Fmsgs.rs;h=c7310ac9d5d4a2c1e13b368c761ef8ef7204b3af;hb=f7dd69240afcd3a0087f7796824a9e2697ed85cf;hp=6bb900967566149f6ae5264dc336cfc62ee585d3;hpb=2018782d119219d9dbde3b993e165b687c3ec268;p=rust-lightning diff --git a/src/ln/msgs.rs b/src/ln/msgs.rs index 6bb90096..c7310ac9 100644 --- a/src/ln/msgs.rs +++ b/src/ln/msgs.rs @@ -366,8 +366,8 @@ pub trait ChannelMessageHandler : events::EventsProvider { fn handle_funding_locked(&self, their_node_id: &PublicKey, msg: &FundingLocked) -> Result, HandleError>; // Channl close: - fn handle_shutdown(&self, their_node_id: &PublicKey, msg: &Shutdown) -> Result<(), HandleError>; - fn handle_closing_signed(&self, their_node_id: &PublicKey, msg: &ClosingSigned) -> Result<(), HandleError>; + fn handle_shutdown(&self, their_node_id: &PublicKey, msg: &Shutdown) -> Result<(Option, Option), HandleError>; + fn handle_closing_signed(&self, their_node_id: &PublicKey, msg: &ClosingSigned) -> Result, HandleError>; // HTLC handling: fn handle_update_add_htlc(&self, their_node_id: &PublicKey, msg: &UpdateAddHTLC) -> Result<(), HandleError>;