Skip to content

Commit 8a3fd3d

Browse files
committed
f correct msg
1 parent 414c7c2 commit 8a3fd3d

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
@@ -1154,7 +1154,7 @@ impl NetworkGraph {
11541154
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
11551155
}
11561156
if msg.timestamp as u64 > time + 60 * 60 * 24 {
1157-
return Err(LightningError{err: "channel_update is older than two weeks old".to_owned(), action: ErrorAction::IgnoreError});
1157+
return Err(LightningError{err: "channel_update has a timestamp a day in the future".to_owned(), action: ErrorAction::IgnoreError});
11581158
}
11591159
}
11601160

0 commit comments

Comments
 (0)