From: Jeffrey Czyz Date: Mon, 11 Nov 2024 22:32:28 +0000 (-0600) Subject: Fix incorrect expect message X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=716758f5a353e3ea84025dae311f6137ecd628ff;p=rust-lightning Fix incorrect expect message --- 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 =