From: Gleb Naumenko Date: Mon, 29 Jun 2020 17:48:01 +0000 (+0300) Subject: Improve routing announcement test X-Git-Tag: v0.0.12~46^2~4 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=a66b8017c0fb5f3a2d31eb838f3db424a50bcec7;p=rust-lightning Improve routing announcement test --- diff --git a/lightning/src/routing/network_graph.rs b/lightning/src/routing/network_graph.rs index 9c93b246f..e9b4fdbf7 100644 --- 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()[..])[..]);