Merge pull request #136 from TheBlueMatt/2018-08-excess-signed-data-bolt-7
[rust-lightning] / src / ln / channel.rs
index b59379aa74fdbab50589ad9ba424a17fab916ab4..f890f03968903b137b99e34db09f6f4e4f4890ee 100644 (file)
@@ -2303,6 +2303,7 @@ impl Channel {
                        node_id_2: if were_node_one { self.get_their_node_id() } else { our_node_id },
                        bitcoin_key_1: if were_node_one { our_bitcoin_key } else { self.their_funding_pubkey.unwrap() },
                        bitcoin_key_2: if were_node_one { self.their_funding_pubkey.unwrap() } else { our_bitcoin_key },
+                       excess_data: Vec::new(),
                };
 
                let msghash = Message::from_slice(&Sha256dHash::from_data(&msg.encode()[..])[..]).unwrap();