]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Drop uneccessary clone() introduced in 16fba9fd664522ac8d24111547b4
authorMatt Corallo <git@bluematt.me>
Sat, 21 Mar 2020 22:21:52 +0000 (18:21 -0400)
committerMatt Corallo <git@bluematt.me>
Sat, 18 Apr 2020 22:09:43 +0000 (18:09 -0400)
lightning/src/ln/channelmonitor.rs

index cba28982d4872dc39aca0c7025c816d88209adab..950b50f3a386bbaa6c582bc2d550df7902b09960 100644 (file)
@@ -1098,7 +1098,7 @@ impl<ChanSigner: ChannelKeys> ChannelMonitor<ChanSigner> {
 
                let onchain_detection = OnchainDetection {
                        keys: keys.clone(),
-                       funding_info: Some(funding_info.clone()),
+                       funding_info: Some(funding_info),
                        current_remote_commitment_txid: None,
                        prev_remote_commitment_txid: None,
                };