Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

chore: bump trezor, fix clippy #1871

Merged
merged 2 commits into from
Nov 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 7 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ethers-core/src/types/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ impl<TX> Block<TX> {
// Casting to i64 is safe because the timestamp is guaranteed to be less than 2^63.
// TODO: It would be nice if there was `TryInto<i64> for U256`.
let secs = self.timestamp.as_u64() as i64;
Ok(Utc.timestamp(secs, 0))
Ok(Utc.timestamp_opt(secs, 0).unwrap())
}
}

Expand Down
2 changes: 1 addition & 1 deletion ethers-signers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ yubihsm = { version = "0.41.0", features = ["secp256k1", "http", "usb"], optiona
futures-util = { version = "^0.3", optional = true }
futures-executor = { version = "^0.3", optional = true }
semver = { version = "1.0.14", optional = true }
trezor-client = { version = "0.0.6", optional = true, default-features = false, features = [
trezor-client = { version = "0.0.7", optional = true, default-features = false, features = [
"f_ethereum",
] }

Expand Down