From: Matt Corallo Date: Wed, 29 Aug 2018 18:30:32 +0000 (-0400) Subject: Remove unused test variable left orphaned by 5d923e2a634351e2852924 X-Git-Tag: v0.0.12~334^2~7 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c1c7cc96ac5dd39a46461d03937fb3d56c4e9686;p=rust-lightning Remove unused test variable left orphaned by 5d923e2a634351e2852924 --- diff --git a/src/ln/msgs.rs b/src/ln/msgs.rs index f696b024f..6a005f528 100644 --- a/src/ln/msgs.rs +++ b/src/ln/msgs.rs @@ -1657,11 +1657,6 @@ mod tests { #[test] fn encoding_channel_reestablish_no_secret() { - let public_key = { - let secp_ctx = Secp256k1::new(); - PublicKey::from_secret_key(&secp_ctx, &SecretKey::from_slice(&secp_ctx, &hex::decode("0101010101010101010101010101010101010101010101010101010101010101").unwrap()[..]).unwrap()) - }; - let cr = msgs::ChannelReestablish { channel_id: [4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0], next_local_commitment_number: 3,