We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77f5af1 commit 892efb9Copy full SHA for 892efb9
lightning/src/ln/channel.rs
@@ -2669,7 +2669,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
2669
tx.input[0].witness.push(Vec::new()); // First is the multisig dummy
2670
2671
let our_funding_key = PublicKey::from_secret_key(&self.secp_ctx, self.local_keys.funding_key()).serialize();
2672
- let their_funding_key = self.their_pubkeys.as_ref().unwrap().funding_pubkey.serialize();
+ let their_funding_key = self.their_funding_pubkey().serialize();
2673
if our_funding_key[..] < their_funding_key[..] {
2674
tx.input[0].witness.push(our_sig.serialize_der().to_vec());
2675
tx.input[0].witness.push(their_sig.serialize_der().to_vec());
0 commit comments