projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-add `test_max_dust_htlc_exposure`
[rust-lightning]
/
lightning
/
src
/
ln
/
wire.rs
diff --git
a/lightning/src/ln/wire.rs
b/lightning/src/ln/wire.rs
index ee1e7963949fbebd87dc08bc76af21e6680d296c..d3cc257f5a6b18cb1776475b4fec69949521e1d6 100644
(file)
--- a/
lightning/src/ln/wire.rs
+++ b/
lightning/src/ln/wire.rs
@@
-457,6
+457,10
@@
mod tests {
}
}
}
}
+ impl Type for () {
+ fn type_id(&self) -> u16 { unreachable!(); }
+ }
+
#[test]
fn is_even_message_type() {
let message = Message::<()>::Unknown(42);
#[test]
fn is_even_message_type() {
let message = Message::<()>::Unknown(42);