From d282251af19fc7d5d4200a9441999bd1a81b2ae8 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 14 Nov 2025 07:37:57 +0000 Subject: chore: bump rust-nostr v0.44 fix breaking changes --- test_utils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test_utils/src/lib.rs') diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs index 22bdf90..bdfc550 100644 --- a/test_utils/src/lib.rs +++ b/test_utils/src/lib.rs @@ -135,7 +135,7 @@ pub fn make_event_old_or_change_user( .build(keys.public_key()); unsigned.created_at = - nostr::types::Timestamp::from(nostr::types::Timestamp::now().as_u64() - how_old_in_secs); + nostr::types::Timestamp::from(nostr::types::Timestamp::now().as_secs() - how_old_in_secs); unsigned.id = Some(nostr::EventId::new( &keys.public_key(), &unsigned.created_at, -- cgit v1.2.3