File tree 2 files changed +8
-8
lines changed 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -143,13 +143,13 @@ jobs:
143
143
id : cache-graph
144
144
uses : actions/cache@v2
145
145
with :
146
- path : lightning/net_graph-2021-05-27 .bin
147
- key : ldk-net_graph-45d86ead641d -2021-05-27 .bin
146
+ path : lightning/net_graph-2021-05-31 .bin
147
+ key : ldk-net_graph-v0.0.15 -2021-05-31 .bin
148
148
- name : Fetch routing graph snapshot
149
149
if : steps.cache-graph.outputs.cache-hit != 'true'
150
150
run : |
151
- wget -O lightning/net_graph-2021-05-27 .bin https://bitcoin.ninja/ldk-net_graph-45d86ead641d -2021-05-27 .bin
152
- if [ "$(sha256sum lightning/net_graph-2021-05-27 .bin | awk '{ print $1 }')" != "3d6261187cfa583255d978efb908b51c2f4dc4ad9a7160cd2c5263c9a4830121 " ]; then
151
+ wget -O lightning/net_graph-2021-05-31 .bin https://bitcoin.ninja/ldk-net_graph-v0.0.15 -2021-05-31 .bin
152
+ if [ "$(sha256sum lightning/net_graph-2021-05-31 .bin | awk '{ print $1 }')" != "05a5361278f68ee2afd086cc04a1f927a63924be451f3221d380533acfacc303 " ]; then
153
153
echo "Bad hash"
154
154
exit 1
155
155
fi
Original file line number Diff line number Diff line change @@ -3907,8 +3907,8 @@ pub(crate) mod test_utils {
3907
3907
use std:: fs:: File ;
3908
3908
/// Tries to open a network graph file, or panics with a URL to fetch it.
3909
3909
pub ( crate ) fn get_route_file ( ) -> Result < std:: fs:: File , & ' static str > {
3910
- let res = File :: open ( "net_graph-2021-05-27 .bin" ) // By default we're run in RL/lightning
3911
- . or_else ( |_| File :: open ( "lightning/net_graph-2021-05-27 .bin" ) ) // We may be run manually in RL/
3910
+ let res = File :: open ( "net_graph-2021-05-31 .bin" ) // By default we're run in RL/lightning
3911
+ . or_else ( |_| File :: open ( "lightning/net_graph-2021-05-31 .bin" ) ) // We may be run manually in RL/
3912
3912
. or_else ( |_| { // Fall back to guessing based on the binary location
3913
3913
// path is likely something like .../rust-lightning/target/debug/deps/lightning-...
3914
3914
let mut path = std:: env:: current_exe ( ) . unwrap ( ) ;
@@ -3917,11 +3917,11 @@ pub(crate) mod test_utils {
3917
3917
path. pop ( ) ; // debug
3918
3918
path. pop ( ) ; // target
3919
3919
path. push ( "lightning" ) ;
3920
- path. push ( "net_graph-2021-05-27 .bin" ) ;
3920
+ path. push ( "net_graph-2021-05-31 .bin" ) ;
3921
3921
eprintln ! ( "{}" , path. to_str( ) . unwrap( ) ) ;
3922
3922
File :: open ( path)
3923
3923
} )
3924
- . map_err ( |_| "Please fetch https://bitcoin.ninja/ldk-net_graph-45d86ead641d -2021-05-27 .bin and place it at lightning/net_graph-2021-05-27 .bin" ) ;
3924
+ . map_err ( |_| "Please fetch https://bitcoin.ninja/ldk-net_graph-v0.0.15 -2021-05-31 .bin and place it at lightning/net_graph-2021-05-31 .bin" ) ;
3925
3925
#[ cfg( require_route_graph_test) ]
3926
3926
return Ok ( res. unwrap ( ) ) ;
3927
3927
#[ cfg( not( require_route_graph_test) ) ]
You can’t perform that action at this time.
0 commit comments