Drop uneccessary clone() introduced in 16fba9fd664522ac8d24111547b4
[rust-lightning] / 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,
                };