more chrono warnings, update cursive lib (#3778)

This commit is contained in:
Yeastplume
2024-01-29 12:50:45 +00:00
committed by GitHub
parent d1b7ae5352
commit c5efaa4e7c
12 changed files with 472 additions and 359 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ fn build_block(
if ts.is_none() {
return Err(Error::General("Utc::now into timestamp".into()));
}
b.header.timestamp = DateTime::<Utc>::from_utc(ts.unwrap(), Utc);
b.header.timestamp = DateTime::from_naive_utc_and_offset(ts.unwrap(), Utc);
debug!(
"Built new block with {} inputs and {} outputs, block difficulty: {}, cumulative difficulty {}",