projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correct `funding_transaction_generated` err msg and fix fuzz check
[rust-lightning]
/
lightning
/
src
/
routing
/
scoring.rs
diff --git
a/lightning/src/routing/scoring.rs
b/lightning/src/routing/scoring.rs
index f16dd2d5b401e521c7299cfa3e2b647cb9d105ab..7504e0840d2683125cf75144fd445b070c6f08da 100644
(file)
--- a/
lightning/src/routing/scoring.rs
+++ b/
lightning/src/routing/scoring.rs
@@
-260,7
+260,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, Debug)]
+#[derive(Clone, Copy, Debug
, PartialEq
)]
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,