We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d285af commit 3892bf9Copy full SHA for 3892bf9
contrib/gossip_store
33 MB
gossip_map/src/lib.rs
@@ -215,8 +215,6 @@ impl GossipMap {
215
}
216
217
218
- log::info!("{:#?}", self.nodes);
219
- log::info!("{:#?}", self.channels);
220
Ok(())
221
222
@@ -241,8 +239,8 @@ mod tests {
241
239
#[test]
242
240
fn read_gossipmap_from_file() {
243
init();
244
- let path = "/run/media/vincent/VincentSSD/.lightning/testnet/gossip_store";
245
- let pubkey = "03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880";
+ let path = concat!(env!("CARGO_MANIFEST_DIR"), "/../contrib/gossip_store");
+ let pubkey = "03e2408a49f07d2f4083a47344138ef89e7617e63919202c92aa8d49b574a560ae";
246
let map = GossipMap::from_file(path);
247
assert!(map.is_ok(), "{:?}", map);
248
let map = map.unwrap();
0 commit comments