projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BDR: Linearizing secp256k1 deps
[rust-lightning]
/
lightning
/
src
/
ln
/
router.rs
diff --git
a/lightning/src/ln/router.rs
b/lightning/src/ln/router.rs
index bdb6f9828a486a71bc3c2f365aa138e97f5fd2d8..a1a6e42d8f51ec3c00f7524e38458152a89f328f 100644
(file)
--- a/
lightning/src/ln/router.rs
+++ b/
lightning/src/ln/router.rs
@@
-3,9
+3,9
@@
//! You probably want to create a Router and use that as your RoutingMessageHandler and then
//! interrogate it to get routes for your own payments.
//! You probably want to create a Router and use that as your RoutingMessageHandler and then
//! interrogate it to get routes for your own payments.
-use secp256k1::key::PublicKey;
-use secp256k1::Secp256k1;
-use secp256k1;
+use
bitcoin::
secp256k1::key::PublicKey;
+use
bitcoin::
secp256k1::Secp256k1;
+use
bitcoin::
secp256k1;
use bitcoin::hashes::sha256d::Hash as Sha256dHash;
use bitcoin::hashes::Hash;
use bitcoin::hashes::sha256d::Hash as Sha256dHash;
use bitcoin::hashes::Hash;
@@
-1095,9
+1095,9
@@
mod tests {
use hex;
use hex;
- use secp256k1::key::{PublicKey,SecretKey};
- use secp256k1::All;
- use secp256k1::Secp256k1;
+ use
bitcoin::
secp256k1::key::{PublicKey,SecretKey};
+ use
bitcoin::
secp256k1::All;
+ use
bitcoin::
secp256k1::Secp256k1;
use std::sync::Arc;
use std::collections::btree_map::Entry as BtreeEntry;
use std::sync::Arc;
use std::collections::btree_map::Entry as BtreeEntry;