From c1c7cc96ac5dd39a46461d03937fb3d56c4e9686 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 29 Aug 2018 14:30:32 -0400 Subject: [PATCH] Remove unused test variable left orphaned by 5d923e2a634351e2852924 --- src/ln/msgs.rs | 5 ----- 1 file changed, 5 deletions(-) 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, -- 2.39.5