]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix source name in is_resolving_htlc_output
authorMatt Corallo <git@bluematt.me>
Mon, 7 Jan 2019 17:58:36 +0000 (12:58 -0500)
committerMatt Corallo <git@bluematt.me>
Wed, 9 Jan 2019 03:47:23 +0000 (22:47 -0500)
src/ln/channelmonitor.rs

index 8db6f63dfa963c4e2a45e80f95169aebf934d0e2..04b324e2222ae892974206ec9a39c41401c9980e 100644 (file)
@@ -1870,7 +1870,7 @@ impl ChannelMonitor {
                                if input.previous_output.txid == prev_local_signed_commitment_tx.txid {
                                        scan_commitment!(prev_local_signed_commitment_tx.htlc_outputs.iter().map(|&(ref a, _, _)| a),
                                                prev_local_signed_commitment_tx.htlc_sources,
-                                               "our latest local commitment tx");
+                                               "our previous local commitment tx");
                                }
                        }
                        if let Some(&(ref htlc_outputs, ref htlc_sources)) = self.remote_claimable_outpoints.get(&input.previous_output.txid) {