Fix timestamp attribute of WakuMessage in examples

This commit is contained in:
Felicio Mununga 2022-12-01 11:30:51 +01:00 committed by GitHub
parent 18436dfc21
commit 21966b2a90
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,
TOY_CHAT_CONTENT_TOPIC.clone(),
1,
Utc::now().timestamp() as usize,
Utc::now().timestamp_nanos() as usize,
);
if let Err(e) =
app.node_handle