Skip to content

Commit 302322c

Browse files
committed
wip
1 parent 676b135 commit 302322c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2238,8 +2238,8 @@ mod tests {
22382238
vec![
22392239
ReplyChannelRange {
22402240
chain_hash: chain_hash.clone(),
2241-
first_blocknum: 0,
2242-
number_of_blocks: 0x01000000,
2241+
first_blocknum: 0xffffff,
2242+
number_of_blocks: 1,
22432243
sync_complete: true,
22442244
short_channel_ids: vec![]
22452245
},
@@ -2259,8 +2259,8 @@ mod tests {
22592259
vec![
22602260
ReplyChannelRange {
22612261
chain_hash: chain_hash.clone(),
2262-
first_blocknum: 0,
2263-
number_of_blocks: 2000,
2262+
first_blocknum: 1000,
2263+
number_of_blocks: 1000,
22642264
sync_complete: true,
22652265
short_channel_ids: vec![],
22662266
}
@@ -2280,7 +2280,7 @@ mod tests {
22802280
vec![
22812281
ReplyChannelRange {
22822282
chain_hash: chain_hash.clone(),
2283-
first_blocknum: 0,
2283+
first_blocknum: 0xfe0000,
22842284
number_of_blocks: 0xffffffff,
22852285
sync_complete: true,
22862286
short_channel_ids: vec![
@@ -2303,8 +2303,8 @@ mod tests {
23032303
vec![
23042304
ReplyChannelRange {
23052305
chain_hash: chain_hash.clone(),
2306-
first_blocknum: 0,
2307-
number_of_blocks: 108000,
2306+
first_blocknum: 100000,
2307+
number_of_blocks: 8000,
23082308
sync_complete: true,
23092309
short_channel_ids: (100000..=107999)
23102310
.map(|block| scid_from_parts(block, 0, 0).unwrap())
@@ -2326,8 +2326,8 @@ mod tests {
23262326
vec![
23272327
ReplyChannelRange {
23282328
chain_hash: chain_hash.clone(),
2329-
first_blocknum: 0,
2330-
number_of_blocks: 108000,
2329+
first_blocknum: 100000,
2330+
number_of_blocks: 8000,
23312331
sync_complete: false,
23322332
short_channel_ids: (100000..=107999)
23332333
.map(|block| scid_from_parts(block, 0, 0).unwrap())

0 commit comments

Comments
 (0)