Skip to content

Commit 10b4723

Browse files
committed
cleanup
1 parent 9d3b4ae commit 10b4723

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lightning/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
extern crate bitcoin;
3131
#[cfg(test)] extern crate hex;
3232
#[cfg(test)] extern crate regex;
33-
extern crate core;
3433

3534
#[macro_use]
3635
pub mod util;

lightning/src/ln/channel.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
15181518
}
15191519

15201520
let funding_txo = OutPoint{ txid: msg.funding_txid, index: msg.funding_output_index };
1521+
self.holder_keys.on_funding_created(&funding_txo);
15211522
self.funding_txo = Some(funding_txo.clone());
15221523

15231524
let (counterparty_initial_commitment_tx, initial_commitment_tx, signature) = match self.funding_created_signature(&msg.signature, logger) {
@@ -3545,6 +3546,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
35453546
panic!("Should not have advanced channel commitment tx numbers prior to funding_created");
35463547
}
35473548

3549+
self.holder_keys.on_funding_created(&funding_txo);
35483550
self.funding_txo = Some(funding_txo.clone());
35493551
let signature = match self.get_outbound_funding_created_signature(logger) {
35503552
Ok(res) => res,

0 commit comments

Comments
 (0)