Skip to content

Commit ef1b075

Browse files
committed
f correct msg
1 parent f6e5e8d commit ef1b075

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
@@ -1164,7 +1164,7 @@ impl NetworkGraph {
11641164
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
11651165
}
11661166
if msg.timestamp as u64 > time + 60 * 60 * 24 {
1167-
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
1167+
return Err(LightningError{err: "channel_update has a timestamp a day in the future".to_owned(), action: ErrorAction::IgnoreError});
11681168
}
11691169
}
11701170

0 commit comments

Comments
 (0)