Skip to content

Commit 716758f

Browse files
committed
Fix incorrect expect message
1 parent 739c412 commit 716758f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9266,7 +9266,7 @@ where
92669266
let duration_since_epoch = {
92679267
use std::time::SystemTime;
92689268
SystemTime::now().duration_since(SystemTime::UNIX_EPOCH)
9269-
.expect("for the foreseeable future this shouldn't happen")
9269+
.expect("SystemTime::now() should be after SystemTime::UNIX_EPOCH")
92709270
};
92719271
#[cfg(not(feature = "std"))]
92729272
let duration_since_epoch =

0 commit comments

Comments
 (0)