projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
impl `Clone` on various public (mostly BOLT12) types
[rust-lightning]
/
lightning-invoice
/
tests
/
ser_de.rs
diff --git
a/lightning-invoice/tests/ser_de.rs
b/lightning-invoice/tests/ser_de.rs
index 98886bef78809aeb7bd9ef9e1784e72e3cf96e4a..e5e311fe669277b955ccf23e372478fd8386560b 100644
(file)
--- a/
lightning-invoice/tests/ser_de.rs
+++ b/
lightning-invoice/tests/ser_de.rs
@@
-1,5
+1,4
@@
extern crate bech32;
extern crate bech32;
-extern crate bitcoin_hashes;
extern crate lightning;
extern crate lightning_invoice;
extern crate secp256k1;
extern crate lightning;
extern crate lightning_invoice;
extern crate secp256k1;
@@
-8,10
+7,7
@@
extern crate hex;
use bitcoin::address::WitnessVersion;
use bitcoin::{PubkeyHash, ScriptHash};
use bitcoin::hashes::hex::FromHex;
use bitcoin::address::WitnessVersion;
use bitcoin::{PubkeyHash, ScriptHash};
use bitcoin::hashes::hex::FromHex;
-use bitcoin_hashes::{sha256, Hash};
-use lightning::ln::PaymentSecret;
-use lightning::routing::gossip::RoutingFees;
-use lightning::routing::router::{RouteHint, RouteHintHop};
+use bitcoin::hashes::{sha256, Hash};
use lightning_invoice::*;
use secp256k1::PublicKey;
use secp256k1::ecdsa::{RecoverableSignature, RecoveryId};
use lightning_invoice::*;
use secp256k1::PublicKey;
use secp256k1::ecdsa::{RecoverableSignature, RecoveryId};