projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dont broadcast HTLC-Timeouts when closing a channel until locktime
[rust-lightning]
/
lightning
/
src
/
routing
/
router.rs
diff --git
a/lightning/src/routing/router.rs
b/lightning/src/routing/router.rs
index 7688e70b36b4710a4bcd41d960a97a51d04fa2a6..46fe93e779962f4be80a1873a4884228921f6a72 100644
(file)
--- a/
lightning/src/routing/router.rs
+++ b/
lightning/src/routing/router.rs
@@
-21,8
+21,10
@@
use routing::network_graph::{NetworkGraph, RoutingFees};
use util::ser::{Writeable, Readable};
use util::logger::Logger;
use util::ser::{Writeable, Readable};
use util::logger::Logger;
+use prelude::*;
+use alloc::collections::BinaryHeap;
use core::cmp;
use core::cmp;
-use std::collections::
{HashMap, BinaryHeap}
;
+use std::collections::
HashMap
;
use core::ops::Deref;
/// A hop in a route
use core::ops::Deref;
/// A hop in a route
@@
-1193,6
+1195,7
@@
mod tests {
use bitcoin::secp256k1::key::{PublicKey,SecretKey};
use bitcoin::secp256k1::{Secp256k1, All};
use bitcoin::secp256k1::key::{PublicKey,SecretKey};
use bitcoin::secp256k1::{Secp256k1, All};
+ use prelude::*;
use std::sync::Arc;
// Using the same keys for LN and BTC ids
use std::sync::Arc;
// Using the same keys for LN and BTC ids
@@
-3945,6
+3948,7
@@
mod benches {
use super::*;
use util::logger::{Logger, Record};
use super::*;
use util::logger::{Logger, Record};
+ use prelude::*;
use test::Bencher;
struct DummyLogger {}
use test::Bencher;
struct DummyLogger {}