projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
430d57c
)
Improve routing announcement test
author
Gleb Naumenko
<naumenko.gs@gmail.com>
Mon, 29 Jun 2020 17:48:01 +0000
(20:48 +0300)
committer
Gleb Naumenko
<naumenko.gs@gmail.com>
Wed, 22 Jul 2020 13:21:04 +0000
(16:21 +0300)
lightning/src/routing/network_graph.rs
patch
|
blob
|
history
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()[..])[..]);