From 21966b2a90f85e62274e633a62c6cc5f0c44ebdd Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Thu, 1 Dec 2022 11:30:51 +0100 Subject: [PATCH] Fix `timestamp` attribute of `WakuMessage` in examples --- examples/toy-chat/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/toy-chat/src/main.rs b/examples/toy-chat/src/main.rs index 904cdc4..887c6fc 100644 --- a/examples/toy-chat/src/main.rs +++ b/examples/toy-chat/src/main.rs @@ -197,7 +197,7 @@ fn run_app( buff, TOY_CHAT_CONTENT_TOPIC.clone(), 1, - Utc::now().timestamp() as usize, + Utc::now().timestamp_nanos() as usize, ); if let Err(e) = app.node_handle