projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d2b44ca
)
Remove unused test variable left orphaned by 5d923e2a634351e2852924
author
Matt Corallo
<git@bluematt.me>
Wed, 29 Aug 2018 18:30:32 +0000
(14:30 -0400)
committer
Matt Corallo
<git@bluematt.me>
Wed, 29 Aug 2018 21:54:57 +0000
(17:54 -0400)
src/ln/msgs.rs
patch
|
blob
|
history
diff --git
a/src/ln/msgs.rs
b/src/ln/msgs.rs
index f696b024fd91d52e0f18184c610bac6d22e0d87a..6a005f528c45773bdc20e1edc4e2d599ee829d65 100644
(file)
--- a/
src/ln/msgs.rs
+++ b/
src/ln/msgs.rs
@@
-1657,11
+1657,6
@@
mod tests {
#[test]
fn encoding_channel_reestablish_no_secret() {
#[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,
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,