Fix timestamp attribute of WakuMessage in examples (#26)

This commit is contained in:
Felicio Mununga 2022-12-01 12:30:42 +01:00 committed by GitHub
parent 18436dfc21
commit 35f787d2ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -197,7 +197,7 @@ fn run_app<B: Backend>(
buff, buff,
TOY_CHAT_CONTENT_TOPIC.clone(), TOY_CHAT_CONTENT_TOPIC.clone(),
1, 1,
Utc::now().timestamp() as usize, Utc::now().timestamp_nanos() as usize,
); );
if let Err(e) = if let Err(e) =
app.node_handle app.node_handle