From: Matt Corallo Date: Sat, 21 Mar 2020 22:21:52 +0000 (-0400) Subject: Drop uneccessary clone() introduced in 16fba9fd664522ac8d24111547b4 X-Git-Tag: v0.0.12~83^2~1 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=3c5ba6b619fdb02582a71081f0a2c2ef57990365;p=rust-lightning Drop uneccessary clone() introduced in 16fba9fd664522ac8d24111547b4 --- diff --git a/lightning/src/ln/channelmonitor.rs b/lightning/src/ln/channelmonitor.rs index cba28982d..950b50f3a 100644 --- a/lightning/src/ln/channelmonitor.rs +++ b/lightning/src/ln/channelmonitor.rs @@ -1098,7 +1098,7 @@ impl ChannelMonitor { 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, };