diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-14 07:37:57 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-14 21:31:13 +0000 |
| commit | d282251af19fc7d5d4200a9441999bd1a81b2ae8 (patch) | |
| tree | b95737c10671419aff3d091b03dedc4b4485041f /test_utils/src/lib.rs | |
| parent | 9192eff46923f1f5b472abf64571d72f7a76c512 (diff) | |
chore: bump rust-nostr v0.44
fix breaking changes
Diffstat (limited to 'test_utils/src/lib.rs')
| -rw-r--r-- | test_utils/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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( | |||
| 135 | .build(keys.public_key()); | 135 | .build(keys.public_key()); |
| 136 | 136 | ||
| 137 | unsigned.created_at = | 137 | unsigned.created_at = |
| 138 | nostr::types::Timestamp::from(nostr::types::Timestamp::now().as_u64() - how_old_in_secs); | 138 | nostr::types::Timestamp::from(nostr::types::Timestamp::now().as_secs() - how_old_in_secs); |
| 139 | unsigned.id = Some(nostr::EventId::new( | 139 | unsigned.id = Some(nostr::EventId::new( |
| 140 | &keys.public_key(), | 140 | &keys.public_key(), |
| 141 | &unsigned.created_at, | 141 | &unsigned.created_at, |