projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move checking of specific require peer feature bits to handlers
[rust-lightning]
/
lightning
/
src
/
routing
/
scoring.rs
diff --git
a/lightning/src/routing/scoring.rs
b/lightning/src/routing/scoring.rs
index 6ae339eae2bbc01776b840d655c2ef68ce6e83aa..a2492accf59cd9fe33fdf9d8ed533d8ff234c5a4 100644
(file)
--- a/
lightning/src/routing/scoring.rs
+++ b/
lightning/src/routing/scoring.rs
@@
-221,7
+221,7
@@
impl<'a, S: Writeable> Writeable for MutexGuard<'a, S> {
}
/// Proposed use of a channel passed as a parameter to [`Score::channel_penalty_msat`].
}
/// Proposed use of a channel passed as a parameter to [`Score::channel_penalty_msat`].
-#[derive(Clone, Copy)]
+#[derive(Clone, Copy
, Debug
)]
pub struct ChannelUsage {
/// The amount to send through the channel, denominated in millisatoshis.
pub amount_msat: u64,
pub struct ChannelUsage {
/// The amount to send through the channel, denominated in millisatoshis.
pub amount_msat: u64,