Skip to content

Commit 770c267

Browse files
committed
f correct msg
1 parent 5894451 commit 770c267

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/network_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,7 +1158,7 @@ impl NetworkGraph {
11581158
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
11591159
}
11601160
if msg.timestamp as u64 > time + 60 * 60 * 24 {
1161-
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
1161+
return Err(LightningError{err: "channel_update has a timestamp a day in the future".to_owned(), action: ErrorAction::IgnoreError});
11621162
}
11631163
}
11641164

0 commit comments

Comments
 (0)