Skip to content

Commit 892efb9

Browse files
committed
nit
1 parent 77f5af1 commit 892efb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2669,7 +2669,7 @@ impl<ChanSigner: ChannelKeys> Channel<ChanSigner> {
26692669
tx.input[0].witness.push(Vec::new()); // First is the multisig dummy
26702670

26712671
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();
2672+
let their_funding_key = self.their_funding_pubkey().serialize();
26732673
if our_funding_key[..] < their_funding_key[..] {
26742674
tx.input[0].witness.push(our_sig.serialize_der().to_vec());
26752675
tx.input[0].witness.push(their_sig.serialize_der().to_vec());

0 commit comments

Comments
 (0)