projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve routing announcement test
[rust-lightning]
/
lightning
/
src
/
routing
/
network_graph.rs
diff --git
a/lightning/src/routing/network_graph.rs
b/lightning/src/routing/network_graph.rs
index 9c93b246f0762b72e2601151d5eff2f64ca7cdee..e9b4fdbf7375a8cf17e67a9e8beb23b8e8681711 100644
(file)
--- a/
lightning/src/routing/network_graph.rs
+++ b/
lightning/src/routing/network_graph.rs
@@
-1194,6
+1194,7
@@
mod tests {
Ok(res) => assert!(!res),
_ => panic!()
};
+ unsigned_channel_update.timestamp += 10;
unsigned_channel_update.short_channel_id += 1;
let msghash = hash_to_message!(&Sha256dHash::hash(&unsigned_channel_update.encode()[..])[..]);