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-net-tokio
/
src
/
lib.rs
diff --git
a/lightning-net-tokio/src/lib.rs
b/lightning-net-tokio/src/lib.rs
index dd0b861c197a54fcd45242bbd4250af919511c90..e460df25e54d192e92548feb5b6053715798fd27 100644
(file)
--- a/
lightning-net-tokio/src/lib.rs
+++ b/
lightning-net-tokio/src/lib.rs
@@
-16,7
+16,7
@@
//! ```
//! use tokio::sync::mpsc;
//! use tokio::net::TcpStream;
//! ```
//! use tokio::sync::mpsc;
//! use tokio::net::TcpStream;
-//! use secp256k1::key::PublicKey;
+//! use
bitcoin::
secp256k1::key::PublicKey;
//! use lightning::util::events::EventsProvider;
//! use std::net::SocketAddr;
//! use std::sync::Arc;
//! use lightning::util::events::EventsProvider;
//! use std::net::SocketAddr;
//! use std::sync::Arc;
@@
-59,7
+59,7
@@
//! }
//! ```
//! }
//! ```
-use secp256k1::key::PublicKey;
+use
bitcoin::
secp256k1::key::PublicKey;
use tokio::net::TcpStream;
use tokio::{io, time};
use tokio::net::TcpStream;
use tokio::{io, time};
@@
-481,7
+481,7
@@
mod tests {
use lightning::ln::msgs::*;
use lightning::ln::peer_handler::{MessageHandler, PeerManager};
use lightning::util::events::*;
use lightning::ln::msgs::*;
use lightning::ln::peer_handler::{MessageHandler, PeerManager};
use lightning::util::events::*;
- use secp256k1::{Secp256k1, SecretKey, PublicKey};
+ use
bitcoin::
secp256k1::{Secp256k1, SecretKey, PublicKey};
use tokio::sync::mpsc;
use tokio::sync::mpsc;