From 35f787d2ae9af24de6f81eea0aa8c0434c6673e9 Mon Sep 17 00:00:00 2001 From: Felicio Mununga Date: Thu, 1 Dec 2022 12:30:42 +0100 Subject: [PATCH] Fix `timestamp` attribute of `WakuMessage` in examples (#26) --- 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