diff --git a/contrib/gossip_store b/contrib/gossip_store new file mode 100644 index 0000000..14d0ebb Binary files /dev/null and b/contrib/gossip_store differ diff --git a/gossip_map/src/lib.rs b/gossip_map/src/lib.rs index cfd399a..6a59ad2 100644 --- a/gossip_map/src/lib.rs +++ b/gossip_map/src/lib.rs @@ -215,8 +215,6 @@ impl GossipMap { } } } - log::info!("{:#?}", self.nodes); - log::info!("{:#?}", self.channels); Ok(()) } } @@ -241,8 +239,8 @@ mod tests { #[test] fn read_gossipmap_from_file() { init(); - let path = "/run/media/vincent/VincentSSD/.lightning/testnet/gossip_store"; - let pubkey = "03b39d1ddf13ce486de74e9e44e0538f960401a9ec75534ba9cfe4100d65426880"; + let path = concat!(env!("CARGO_MANIFEST_DIR"), "/../contrib/gossip_store"); + let pubkey = "03e2408a49f07d2f4083a47344138ef89e7617e63919202c92aa8d49b574a560ae"; let map = GossipMap::from_file(path); assert!(map.is_ok(), "{:?}", map); let map = map.unwrap();