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
1 changed files with 1 additions and 1 deletions

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