projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbbf84b
)
Clean up use ordering introduced in 9d7bb73b599a7a9d8468a2f0c54d28f
author
Matt Corallo
<git@bluematt.me>
Wed, 21 Dec 2022 16:38:28 +0000
(16:38 +0000)
committer
Matt Corallo
<git@bluematt.me>
Wed, 21 Dec 2022 16:38:54 +0000
(16:38 +0000)
9d7bb73b599a7a9d8468a2f0c54d28f0ce6cf543
moved some code around
unnecessarily, which we fix here.
lightning/src/util/test_utils.rs
patch
|
blob
|
history
diff --git
a/lightning/src/util/test_utils.rs
b/lightning/src/util/test_utils.rs
index f4b751663ee62a5e5991f19c44f15f69b18d2990..4f74791a173d120f7f84e3c68c3951dd0a08af8b 100644
(file)
--- a/
lightning/src/util/test_utils.rs
+++ b/
lightning/src/util/test_utils.rs
@@
-36,6
+36,7
@@
use bitcoin::network::constants::Network;
use bitcoin::hash_types::{BlockHash, Txid};
use bitcoin::secp256k1::{SecretKey, PublicKey, Secp256k1, ecdsa::Signature, Scalar};
+use bitcoin::secp256k1::ecdh::SharedSecret;
use bitcoin::secp256k1::ecdsa::RecoverableSignature;
use regex;
@@
-51,7
+52,6
@@
use crate::chain::keysinterface::{InMemorySigner, Recipient, KeyMaterial, Entrop
#[cfg(feature = "std")]
use std::time::{SystemTime, UNIX_EPOCH};
-use bitcoin::secp256k1::ecdh::SharedSecret;
use bitcoin::Sequence;
pub struct TestVecWriter(pub Vec<u8>);