Move PaymentPreimage+PaymentHash+PaymentSecret to top-level ln module
[rust-lightning] / lightning / src / ln / onion_route_tests.rs
index 24dc1f5a62b48d22fbf495e9da5f534083b6bc73..6f178d2136e30be5c9b4e03a6ea6612f3c575191 100644 (file)
@@ -12,7 +12,8 @@
 //! returned errors decode to the correct thing.
 
 use chain::channelmonitor::{CLTV_CLAIM_BUFFER, LATENCY_GRACE_PERIOD_BLOCKS};
-use ln::channelmanager::{HTLCForwardInfo, PaymentPreimage, PaymentHash, PaymentSecret};
+use ln::{PaymentPreimage, PaymentHash, PaymentSecret};
+use ln::channelmanager::HTLCForwardInfo;
 use ln::onion_utils;
 use routing::router::{Route, get_route};
 use ln::features::{InitFeatures, InvoiceFeatures};