From 716758f5a353e3ea84025dae311f6137ecd628ff Mon Sep 17 00:00:00 2001 From: Jeffrey Czyz Date: Mon, 11 Nov 2024 16:32:28 -0600 Subject: [PATCH] Fix incorrect expect message --- lightning/src/ln/channelmanager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/ln/channelmanager.rs b/lightning/src/ln/channelmanager.rs index 4ca95db11..5a20c8e24 100644 --- a/lightning/src/ln/channelmanager.rs +++ b/lightning/src/ln/channelmanager.rs @@ -9266,7 +9266,7 @@ where let duration_since_epoch = { use std::time::SystemTime; SystemTime::now().duration_since(SystemTime::UNIX_EPOCH) - .expect("for the foreseeable future this shouldn't happen") + .expect("SystemTime::now() should be after SystemTime::UNIX_EPOCH") }; #[cfg(not(feature = "std"))] let duration_since_epoch = -- 2.39.5